mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
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:
1 parent
dbff2508b8
commit
f0dc5ec6f9
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user