aboutsummaryrefslogtreecommitdiff
path: root/tests/lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib.sh')
-rw-r--r--tests/lib.sh22
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"
-}