From 7d5cf2af79e933ee9e67f12991a6c9c8f81d41c7 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sun, 6 Feb 2022 23:11:26 +0300 Subject: [PATCH] Fix bash tests for BSD/Mac base64 --- bench/bench.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bench/bench.sh b/bench/bench.sh index 8ebc4256..cf404776 100755 --- a/bench/bench.sh +++ b/bench/bench.sh @@ -176,7 +176,12 @@ if [ "$t" = "" -o "$t" = "create_parallel" ]; then fi function write_md5 { - seed=$(dd if=/dev/urandom bs=128 count=1 status=none | base64 -w 0) + if ! base64 -w 0