summaryrefslogtreecommitdiff
path: root/tests/m4sh.at
diff options
context:
space:
mode:
Diffstat (limited to 'tests/m4sh.at')
-rw-r--r--tests/m4sh.at2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/m4sh.at b/tests/m4sh.at
index 38667e49..a24915b2 100644
--- a/tests/m4sh.at
+++ b/tests/m4sh.at
@@ -579,7 +579,7 @@ st1=$?
(./foo.sh) >/dev/null 2>&1
st2=$?
case $st1:$st2 in
- 1:126 | 0:0 ) echo 2 ;;
+ *[[1-9]]*:*[[1-9]]* | 0:0 ) echo 2 ;;
*) echo "fail ($st1:$st2)" ;;
esac
# Now things better be executable