Skip to content

Commit

Permalink
Merge pull request #3781 from niyaznigmatullin/disable_max_value_tests
Browse files Browse the repository at this point in the history
disable numfmt and printf LONG_MIN and INT_MAX+1 gnu-tests
  • Loading branch information
sylvestre authored Aug 9, 2022
2 parents ab791b6 + 5978185 commit 87415f0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions util/build-gnu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,3 +213,11 @@ sed -i -e "s/timeout 10 sleep 0x.002p1/#timeout 10 sleep 0x.002p1/" tests/misc/s

# install verbose messages shows ginstall as command
sed -i -e "s/ginstall: creating directory/install: creating directory/g" tests/install/basic-1.sh

# GNU doesn't support padding < -LONG_MAX
# 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

# GNU doesn't support width > INT_MAX
# disable these test cases
sed -i -E "s|^([^#]*2_31.*)$|#\1|g" tests/misc/printf-cov.pl

0 comments on commit 87415f0

Please sign in to comment.