From e1570edd3cdaa040f9664adb315f72e33f8b67c2 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 8 Nov 2024 07:20:17 -0300 Subject: tests/lib.sh: Remove utils from eut --- tests/lib.sh | 22 ---------------------- 1 file changed, 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" -} -- cgit v1.2.3