aboutsummaryrefslogtreecommitdiff
path: root/tests/lib.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-04-14 14:07:43 -0300
committerEuAndreh <eu@euandre.org>2023-04-14 14:08:18 -0300
commit7afce21a30355068a4bdd186b44d79dd37d94937 (patch)
tree13dbb2350efc192a64ee7e738d5d4dd343fa789b /tests/lib.sh
parentrm -rf aux/ (diff)
downloadgistatic-7afce21a30355068a4bdd186b44d79dd37d94937.tar.gz
gistatic-7afce21a30355068a4bdd186b44d79dd37d94937.tar.xz
Cleanup repo, reinit in sh
Diffstat (limited to 'tests/lib.sh')
-rw-r--r--[-rwxr-xr-x]tests/lib.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib.sh b/tests/lib.sh
index 527e645..750cb68 100755..100644
--- a/tests/lib.sh
+++ b/tests/lib.sh
@@ -122,12 +122,12 @@ uuid() {
# Taken from:
# https://serverfault.com/a/799198
od -xN20 /dev/urandom |
- head -1 |
+ head -n1 |
awk '{OFS="-"; print $2$3,$4,$5,$6,$7$8$9}'
}
tmpname() {
- echo 'mkstemp(template)' | m4 -D template="${TMPDIR:-/tmp}/m4-tmpname."
+ echo "${TMPDIR:-/tmp}/uuid-tmpname with spaces.$(uuid)"
}
mkstemp() {