From 0c8407acff51273d158849f1192515fec6500b4b Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 26 Jan 2021 22:09:09 -0300 Subject: lib.sh: Limit the amount of bytes output by od --- tests/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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}' } -- cgit v1.2.3