diff options
author | EuAndreh <eu@euandre.org> | 2021-01-26 22:09:09 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-01-26 22:09:09 -0300 |
commit | 0c8407acff51273d158849f1192515fec6500b4b (patch) | |
tree | 0946a2b3e144d18160efc21e508c1c2bc43516a9 /tests/lib.sh | |
parent | README.md: Add links to source code and issue tracking (diff) | |
download | remembering-0c8407acff51273d158849f1192515fec6500b4b.tar.gz remembering-0c8407acff51273d158849f1192515fec6500b4b.tar.xz |
lib.sh: Limit the amount of bytes output by od
Diffstat (limited to '')
-rwxr-xr-x | tests/lib.sh | 2 |
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}' } |