aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorJacob Bachmeyer <jcb@gnu.org>2021-05-18 21:29:56 -0500
committerJacob Bachmeyer <jcb@gnu.org>2021-05-18 21:29:56 -0500
commit531c8aa5acc8b7ccb40fc255bec038f8d8e02983 (patch)
tree5a3bb81f2cf92ff55e4c27151c18526c33b78305 /testsuite
parent4040555d289e26a81c95e54e43264eee671c8450 (diff)
downloaddejagnu-531c8aa5acc8b7ccb40fc255bec038f8d8e02983.zip
dejagnu-531c8aa5acc8b7ccb40fc255bec038f8d8e02983.tar.gz
dejagnu-531c8aa5acc8b7ccb40fc255bec038f8d8e02983.tar.bz2
Avoid dependency on exit code from false(1) in PR48155 test
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/runtest.main/pr48155.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/runtest.main/pr48155.exp b/testsuite/runtest.main/pr48155.exp
index c477597..8b152cf 100644
--- a/testsuite/runtest.main/pr48155.exp
+++ b/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:"