Browse Source

Avoid dependency on exit code from false(1) in PR48155 test

dejagnu-1.6.3
Jacob Bachmeyer 5 years ago
parent
commit
531c8aa5ac
  1. 5
      ChangeLog
  2. 4
      testsuite/runtest.main/pr48155.exp

5
ChangeLog

@ -1,3 +1,8 @@
2021-05-18 Jacob Bachmeyer <jcb@gnu.org>
* testsuite/runtest.main/pr48155.exp: Fix assumption about exit
code from /bin/false, which is different on Solaris.
2021-05-05 Jacob Bachmeyer <jcb@gnu.org>
PR48155

4
testsuite/runtest.main/pr48155.exp

@ -78,7 +78,7 @@ proc test_pr48155_error { name envlist output } {
test_pr48155_error "bogus CONFIG_SHELL as false" \
[list CONFIG_SHELL [which false]] \
"exited on code 1.*produced bogus build triplet:"
"exited on code .*produced bogus build triplet:"
test_pr48155_error "bogus CONFIG_SHELL as true" \
[list CONFIG_SHELL [which true]] \
"produced bogus build triplet:"
@ -91,7 +91,7 @@ test_pr48155_error "bogus CONFIG_SHELL as simulated C shell" \
test_pr48155_error "bogus SHELL as false" \
[list SHELL [which false]] \
"exited on code 1.*produced bogus build triplet:"
"exited on code .*produced bogus build triplet:"
test_pr48155_error "bogus SHELL as true" \
[list SHELL [which true]] \
"produced bogus build triplet:"

Loading…
Cancel
Save