du: Update the GNU error message to our for tests/du/threshold.sh

We are doing a better job.
Make it FAIL => PASS
This commit is contained in:
Sylvestre Ledru 2023-03-27 19:57:35 +02:00
parent 722b4aae5e
commit f7ff0d45b8

View file

@ -224,3 +224,5 @@ sed -i -e "s/\$prog: multiple field specifications/error: The argument '--field
# GNU doesn't support width > INT_MAX
# disable these test cases
sed -i -E "s|^([^#]*2_31.*)$|#\1|g" tests/misc/printf-cov.pl
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 <SIZE>' but none was supplied/" -e "/Try 'du --help' for more information./d" tests/du/threshold.sh