chiark / gitweb /
Support feeble FreeBSD versions of dd and truncate in tests
[vbig.git] / t-extended
index 754867ac6d28c7f94d6d751baeb109a548fb4ac4..b06711fdf5c0c0cc0d8981b01fc117eb1cd49379 100755 (executable)
@@ -19,7 +19,7 @@
 set -e
 rm -f testfile
 ./vbig --seed chahthaiquiyouto --create testfile 65536
-dd if=/dev/zero of=testfile bs=256 count=1 seek=1 conv=nocreat,notrunc oflag=append status=noxfer
+dd if=/dev/zero bs=256 count=1 seek=1 conv=notrunc >> testfile
 if ./vbig --seed chahthaiquiyouto --verify testfile 65536 2>testoutput; then
   echo >&2 ERROR: verify unexpectedly succeeded
   exit 1