Skip to content

Commit def66f3

Browse files
committed
build-gnu.sh: adapt "du" error message
1 parent ee0426e commit def66f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/build-gnu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ sed -i -e "s|mv: cannot overwrite 'a/t': Directory not empty|mv: cannot move 'b/
314314
# disable these test cases
315315
sed -i -E "s|^([^#]*2_31.*)$|#\1|g" tests/printf/printf-cov.pl
316316

317-
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
317+
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 "s/Try 'du --help' for more information./\nFor more information, try '--help'./" tests/du/threshold.sh
318318

319319
# Remove the extra output check
320320
sed -i -e "s|Try '\$prog --help' for more information.\\\n||" tests/du/files0-from.pl

0 commit comments

Comments
 (0)