chiark / gitweb /
Regression test doesn't rely on value of O_NONBLOCK.
[adns.git] / regress / m1test
index 5a8bbed..81cd024 100755 (executable)
@@ -24,12 +24,7 @@ ADNS_TEST_OUT_FD=3 3>>"$case.sys" >"$case.out" 2>"$case.err" </dev/null \
 rc=$?
 set -e
 
+echo "rc=$rc" >>$case.out
+
 egrep . -- "$case.err" "$case.out"
 echo "exit status: $rc"
-
-if test $rc = 0
-then
-       echo "test created ok"
-fi
-
-exit $rc