patch-tests_test12 519 B

12345678910111213141516
  1. $OpenBSD: patch-tests_test12,v 1.1 2015/10/05 16:50:14 sthen Exp $
  2. - Fix regress tests, head -c not working on OpenBSD
  3. --- tests/test12.orig Sun Aug 2 17:09:46 2015
  4. +++ tests/test12 Sun Oct 4 22:23:04 2015
  5. @@ -19,7 +19,7 @@ echo $banner
  6. echo $dashes
  7. mv test.data test.data-correct
  8. -head -c 113579 test.data-correct > test.data
  9. +dd if=test.data-correct bs=113579 count=1 status=none of=test.data
  10. ../../par2 r test.par2 > ../$testname.log || { echo "ERROR: repair files using PAR 2.0 failed" ; exit 1; } >&2