Skip to content

Commit

Permalink
test: fix EOVERFLOW test case on alpine
Browse files Browse the repository at this point in the history
On Alpine Linux (or I guess, musl-libc), strerror(EOVERFLOW) is "Result
not representable", not "Numerical result out of range".
  • Loading branch information
Snaipe committed Sep 10, 2020
1 parent 8535967 commit 8360170
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/bst.t
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,8 @@ Testing --limit-core / general tests
bst: error in --limit-core value: Invalid argument
[1]

$ bst --limit-core=0xffffffffffffffffffffffffe
$ bst --limit-core=0xffffffffffffffffffffffffe 2>&1 | sed -e 's/Result not representable/Numerical result out of range/'
bst: error in --limit-core value: Numerical result out of range
[1]

Testing limit-copying
$ bst --no-copy-hard-limits true # smoke test
Expand Down

0 comments on commit 8360170

Please sign in to comment.