aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-26 22:09:09 -0300
committerEuAndreh <eu@euandre.org>2021-01-26 22:09:09 -0300
commit0c8407acff51273d158849f1192515fec6500b4b (patch)
tree0946a2b3e144d18160efc21e508c1c2bc43516a9
parentREADME.md: Add links to source code and issue tracking (diff)
downloadremembering-0c8407acff51273d158849f1192515fec6500b4b.tar.gz
remembering-0c8407acff51273d158849f1192515fec6500b4b.tar.xz
lib.sh: Limit the amount of bytes output by od
-rwxr-xr-xtests/lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib.sh b/tests/lib.sh
index 251f314..9f3c629 100755
--- a/tests/lib.sh
+++ b/tests/lib.sh
@@ -32,7 +32,7 @@ assert_stdout() {
uuid() {
# Taken from:
# https://serverfault.com/a/799198
- od -x /dev/urandom | \
+ od -xN20 /dev/urandom | \
head -1 | \
awk '{OFS="-"; print $2$3,$4,$5,$6,$7$8$9}'
}