t5303: drop "count=1" from corruption dd
[gitweb.git] / t / t5303-pack-corruption-resilience.sh
index 5b1250f0d2d69369fccacbefa3fa24488e9c4b4e..9cb8172adf43f61fd9fecc2e879486b5e9067d04 100755 (executable)
@@ -51,7 +51,7 @@ do_corrupt_object() {
     ofs=`git show-index < ${pack}.idx | grep $1 | cut -f1 -d" "` &&
     ofs=$(($ofs + $2)) &&
     chmod +w ${pack}.pack &&
-    dd of=${pack}.pack count=1 bs=1 conv=notrunc seek=$ofs &&
+    dd of=${pack}.pack bs=1 conv=notrunc seek=$ofs &&
     test_must_fail git verify-pack ${pack}.pack
 }