Displaying 1 result from an estimated 1 matches for "fd2513f9".
2020 Aug 17
3
[nbdkit PATCH] sh: Prefer dd bs=1 over iflag=count_bytes
...case "$1" in
touch retry-size-fail
fi ;;
esac
- dd if=/dev/zero count=$3 iflag=count_bytes
+ dd bs=1 if=/dev/zero count=$3
;;
*) exit 2 ;;
esac
diff --git a/tests/test-retry.sh b/tests/test-retry.sh
index 173bd20a..fd2513f9 100755
--- a/tests/test-retry.sh
+++ b/tests/test-retry.sh
@@ -35,7 +35,6 @@ set -e
set -x
requires qemu-img --version
-requires dd iflag=count_bytes </dev/null
files="retry.img retry-count retry-open-count"
rm -f $files
@@ -65,7 +64,7 @@ case "$1" in
echo...