mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
tests: avoid spurious du/bigtime failure
* tests/du/bigtime: Map nonzero block count to 0. Reported by Assaf Gordon. * THANKS: Update.
This commit is contained in:
1 parent
c67a96c4c1
commit
6d488ca041
2 files changed
+6
No files matched your search
@@ -62,6 +62,7 @@ Arnold Robbins arnold@skeeve.com
|
||||
Arthur Pool pool@commerce.uq.edu.au
|
||||
Arun Sharma arun.sharma@intel.com
|
||||
Arvind Autar Autar022@planet.nl
|
||||
Assaf Gordon assafgordon@gmail.com
|
||||
Augey Mikus mikus@dqc.org
|
||||
Aurelien Jarno aurel32@debian.org
|
||||
Austin Donnelly Austin.Donnelly@cl.cam.ac.uk
|
||||
|
||||
@@ -39,6 +39,11 @@ printf "0\t$bignum\tfuture\n" > exp || framework_failure_
|
||||
printf "du: time $bignum is out of range\n" > err_ok || framework_failure_
|
||||
|
||||
du --time future >out 2>err || fail=1
|
||||
|
||||
# On some systems an empty file occupies 4 blocks.
|
||||
# Map the number of blocks to 0.
|
||||
sed 's/^[0-9][0-9]*/0/' out > k && mv k out
|
||||
|
||||
compare out exp || fail=1
|
||||
compare err err_ok || fail=1
|
||||
|
||||
|
||||
Reference in new issue
Block a user