summaryrefslogtreecommitdiff
path: root/tests/misc/shred-passes.sh
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-10-28 13:02:31 +0000
committerPádraig Brady <P@draigBrady.com>2015-11-04 02:03:41 +0000
commitab40a941a07d80326aaa051e3c94c88b800cbd7d (patch)
tree382e656f126d0e63ca1158f8f43630e1dd10d18b /tests/misc/shred-passes.sh
parent00eb7af8ea30ccbefeb17213cd644b8f0ade1ef8 (diff)
downloadcoreutils-ab40a941a07d80326aaa051e3c94c88b800cbd7d.tar.xz
all: replace most uses of quotearg_colon() with quote()
Related to commit v8.24-61-g6796698 this provides more consistent quoting, as quotearg_colon() defaults to "literal" quoting by default, while quote() provides appropriate quoting for diagnostics by default. * gl/modules/randread: Depend on quote module rather than quotearg. * gl/lib/randread.c: Used quote() not quotearg_colon(). * src/: Likewise. * src/shred.c: Likewise. Also avoid unnecessary quoting introducing overhead when wiping names. * cfg.mk: Relax the matching expression to allow "qname" variables as used in shred.c to satisfy the check. * tests/: Adjust accordingly.
Diffstat (limited to 'tests/misc/shred-passes.sh')
-rwxr-xr-xtests/misc/shred-passes.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/misc/shred-passes.sh b/tests/misc/shred-passes.sh
index c19cc7655..ddf788b05 100755
--- a/tests/misc/shred-passes.sh
+++ b/tests/misc/shred-passes.sh
@@ -28,7 +28,7 @@ shred: 'f': pass 1/3 (random)...
shred: 'f': pass 2/3 (random)...
shred: 'f': pass 3/3 (random)...
shred: 'f': removing
-shred: 'f': renamed to '0'
+shred: 'f': renamed to 0
shred: 'f': removed" > exp || framework_failure_
shred -v -u f 2>out || fail=1
@@ -40,7 +40,7 @@ compare exp out || fail=1
touch f || framework_failure_
echo "\
shred: 'f': removing
-shred: 'f': renamed to '0'
+shred: 'f': renamed to 0
shred: 'f': removed" > exp || framework_failure_
shred -v -u f 2>out || fail=1
@@ -73,7 +73,7 @@ shred: 'f': pass 18/20 (eeeeee)...
shred: 'f': pass 19/20 (333333)...
shred: 'f': pass 20/20 (random)...
shred: 'f': removing
-shred: 'f': renamed to '0'
+shred: 'f': renamed to 0
shred: 'f': removed" > exp || framework_failure_
shred -v -u -n20 --random-source=Us f 2>out || fail=1