diff options
author | EuAndreh <eu@euandre.org> | 2024-11-08 07:20:17 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-11-08 07:20:17 -0300 |
commit | e1570edd3cdaa040f9664adb315f72e33f8b67c2 (patch) | |
tree | 7cd044d17e494e5fb64b75301187e5eb6499dc11 | |
parent | re 's/TLD/DOMAIN/g' (diff) | |
download | remembering-e1570edd3cdaa040f9664adb315f72e33f8b67c2.tar.gz remembering-e1570edd3cdaa040f9664adb315f72e33f8b67c2.tar.xz |
tests/lib.sh: Remove utils from eut
-rw-r--r-- | tests/lib.sh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/lib.sh b/tests/lib.sh index d144bef..07ecbef 100644 --- a/tests/lib.sh +++ b/tests/lib.sh @@ -117,25 +117,3 @@ test_ok() { # shellcheck disable=2059 printf " ${green}OK${end}.\n" >&2 } - -uuid() { - od -xN20 /dev/urandom | - head -n1 | - awk '{OFS="-"; print $2$3,$4,$5,$6,$7$8$9}' -} - -tmpname() { - printf '%s/uuid-tmpname with spaces.%s' "${TMPDIR:-/tmp}" "$(uuid)" -} - -mkstemp() { - name="$(tmpname)" - touch -- "$name" - printf '%s' "$name" -} - -mkdtemp() { - name="$(tmpname)" - mkdir -- "$name" - printf '%s' "$name" -} |