From dd7f5e5fd9c848b8b6028386cc3ba2dd4f44732c Mon Sep 17 00:00:00 2001 From: Debian Med Packaging Team Date: Wed, 9 May 2018 12:08:47 +0100 Subject: [PATCH] Non-regular-file-test Gbp-Pq: Name 0015-Non-regular-file-test.patch --- tests/playTests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/playTests.sh b/tests/playTests.sh index 182f4a4..1df995f 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -56,7 +56,7 @@ fi isWindows=false INTOVOID="/dev/null" -DEVDEVICE="/dev/zero" +DEVDEVICE="/dev/random" case "$OS" in Windows*) isWindows=true @@ -175,7 +175,7 @@ $ECHO hello > tmp $ZSTD tmp -f -o "$DEVDEVICE" 2>tmplog > "$INTOVOID" grep -v "Refusing to remove non-regular file" tmplog rm -f tmplog -$ZSTD tmp -f -o "$INTONULL" 2>&1 | grep -v "Refusing to remove non-regular file" +$ZSTD tmp -f -o "$INTOVOID" 2>&1 | grep -v "Refusing to remove non-regular file" $ECHO "test : --rm on stdin" $ECHO a | $ZSTD --rm > $INTOVOID # --rm should remain silent rm tmp -- 2.30.2