tests: avoid false failure in shred-passes.sh

* tests/misc/shred-passes.sh: Specify an exact amount to shred,
to avoid running out of simulated random data on file systems
with a large st_blksize like GPFS for example.
Reported by Assaf Gordon.
This commit is contained in:
Pádraig Brady committed 2016-01-19 16:08:59 +00:00
1 parent dbff2508b8
commit f0dc5ec6f9
1 file changed
+1 -1
+1 -1
View File
@@ -76,7 +76,7 @@ shred: f: removing
shred: f: renamed to 0
shred: f: removed" > exp || framework_failure_
shred -v -u -n20 --random-source=Us f 2>out || fail=1
shred -v -u -n20 -s4096 --random-source=Us f 2>out || fail=1
compare exp out || fail=1