From 593ccd3cb4a38b9d57955d3b83361990918a07bc Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 23 Aug 2021 05:35:43 -0500 Subject: [PATCH] Tell dd not to write to status stderr instead of discarding stderr. (In case of other errors.) --- tests/tar.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tar.test b/tests/tar.test index 0406fa9a..6db35185 100644 --- a/tests/tar.test +++ b/tests/tar.test @@ -210,7 +210,7 @@ toyonly testing "cat tbz | extract dir/file (autodetect)" \ "dir/\ndir/file\ndrwxr-x--- 1494637555 dd/dir\n-rw-r----- 1494637555 dd/dir/file\n" \ "" "" -yes | (dd bs=$((1<<16)) count=1; dd bs=8192 seek=14 count=1; dd bs=4096 seek=64 count=5) 2>/dev/null > fweep +yes | (dd bs=$((1<<16)) count=1 status=none; dd bs=8192 seek=14 count=1 status=none; dd bs=4096 seek=64 count=5 status=none) > fweep testing "sparse without overflow" "$TAR --sparse fweep | SUM 3" \ "e1560110293247934493626d564c8f03c357cec5\n" "" "" -- 2.39.2