From: Nick Terrell Date: Mon, 15 Apr 2019 23:21:46 +0000 (-0700) Subject: [playTets] Don't pass status=none to dd X-Git-Tag: v1.4.0^2~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6996804d05d1f20359c4addb8256de1bac0e15c2;p=thirdparty%2Fzstd.git [playTets] Don't pass status=none to dd The OS X test machine on TravisCI doesn't recognize the parameter https://travis-ci.org/facebook/zstd/jobs/520517933. --- diff --git a/tests/playTests.sh b/tests/playTests.sh index d22f617e4..bce271015 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -49,7 +49,7 @@ fileRoundTripTest() { } truncateLastByte() { - dd bs=1 count=$(($(wc -c < "$1") - 1)) if="$1" status=none + dd bs=1 count=$(($(wc -c < "$1") - 1)) if="$1" } UNAME=$(uname) @@ -836,7 +836,7 @@ FULL_COMPRESSED_FILE=${TEST_DATA_FILE}.zst TRUNCATED_COMPRESSED_FILE=truncated-input.txt.zst ./datagen -g50000 > $TEST_DATA_FILE $ZSTD -f $TEST_DATA_FILE -o $FULL_COMPRESSED_FILE -dd bs=1 count=100 if=$FULL_COMPRESSED_FILE of=$TRUNCATED_COMPRESSED_FILE status=none +dd bs=1 count=100 if=$FULL_COMPRESSED_FILE of=$TRUNCATED_COMPRESSED_FILE $ZSTD --list $TRUNCATED_COMPRESSED_FILE && die "-l must fail on truncated file" rm $TEST_DATA_FILE