mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 23:02:38 +00:00
Merge pull request #4102 from cakebaker/numfmt_multiple_field_specifications
build-gnu: fix test for numfmt
This commit is contained in:
commit
51c6acf9d0
1 changed files with 3 additions and 0 deletions
|
@ -218,6 +218,9 @@ sed -i -e "s/ginstall: creating directory/install: creating directory/g" tests/i
|
||||||
# disable this test case
|
# disable this test case
|
||||||
sed -i -Ez "s/\n([^\n#]*pad-3\.2[^\n]*)\n([^\n]*)\n([^\n]*)/\n# uutils\/numfmt supports padding = LONG_MIN\n#\1\n#\2\n#\3/" tests/misc/numfmt.pl
|
sed -i -Ez "s/\n([^\n#]*pad-3\.2[^\n]*)\n([^\n]*)\n([^\n]*)/\n# uutils\/numfmt supports padding = LONG_MIN\n#\1\n#\2\n#\3/" tests/misc/numfmt.pl
|
||||||
|
|
||||||
|
# Update the GNU error message to match the one generated by clap
|
||||||
|
sed -i -e "s/\$prog: multiple field specifications/error: The argument '--field <FIELDS>' was provided more than once, but cannot be used multiple times\n\nUsage: numfmt [OPTION]... [NUMBER]...\n\n\nFor more information try '--help'/g" tests/misc/numfmt.pl
|
||||||
|
|
||||||
# GNU doesn't support width > INT_MAX
|
# GNU doesn't support width > INT_MAX
|
||||||
# disable these test cases
|
# disable these test cases
|
||||||
sed -i -E "s|^([^#]*2_31.*)$|#\1|g" tests/misc/printf-cov.pl
|
sed -i -E "s|^([^#]*2_31.*)$|#\1|g" tests/misc/printf-cov.pl
|
||||||
|
|
Loading…
Reference in a new issue