(I pushed this to port the new test to Solaris 8 /bin/sh.) * tests/m4sh.at (AS@&t@_EXECUTABLE): Treat any nonzero exit status as failure. This is needed for Solaris 8 /bin/sh, where executing a nonexecutable file causes the shell to say the file had exit status 1. --- tests/m4sh.at | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/m4sh.at b/tests/m4sh.at index 38667e4..a24915b 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 -- 1.7.6.5
