From f7ff0d45b87d80f9d2b28b726a13b987f08fbb8c Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 27 Mar 2023 19:57:35 +0200 Subject: [PATCH] du: Update the GNU error message to our for tests/du/threshold.sh We are doing a better job. Make it FAIL => PASS --- util/build-gnu.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index dad970866..e7637ff94 100755 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -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 ' but none was supplied/" -e "/Try 'du --help' for more information./d" tests/du/threshold.sh