From 4b65ada9fa5df60b2f17a6a9187dca3b1b6d559b Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 16 Sep 2023 21:07:36 +0200 Subject: [PATCH] stat-failed.sh: update of the test - we have a small difference --- util/build-gnu.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index 2d949bbb333..a82f1c231e3 100755 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -261,6 +261,10 @@ sed -i -e "s/Try 'mv --help' for more information/For more information, try '--h # disable these test cases sed -i -E "s|^([^#]*2_31.*)$|#\1|g" tests/printf/printf-cov.pl + +# with ls --dired, in case of error, we have a slightly different error message +sed -i -e "s|44 45|45 46|" tests/ls/stat-failed.sh + sed -i -e "s/du: invalid -t argument/du: invalid --threshold argument/" -e "s/du: option requires an argument/error: a value is required for '--threshold ' but none was supplied/" -e "/Try 'du --help' for more information./d" tests/du/threshold.sh # disable two kind of tests: