]> diplodocus.org Git - nmh/blobdiff - test/repl/test-if-str
Added 2 second timeout to curl command in post() in oauth.c, for
[nmh] / test / repl / test-if-str
index 8456df8..ecfafb6 100755 (executable)
@@ -40,6 +40,11 @@ Test1 writes:
 > This is message number 1
 EOF
 
-repl -editor true -format -form $form -group -nocc me -nowhatnowproc 1 || exit 1
+run_prog repl -editor true -format -form $form -group -nocc me \
+  -nowhatnowproc 1 || exit 1
 
-diff -u $expected $actual
+check "$expected" "$actual"
+
+test ${failed:-0} -eq 0  &&  rm "$form"
+
+exit $failed