]> diplodocus.org Git - nmh/blobdiff - test/repl/test-if-str
Alter HasSuffixC()'s char * to be const.
[nmh] / test / repl / test-if-str
index 8456df8ee01ecc17e202015d3b6f492c89aaf11d..ecfafb654399048426c1ba6025555686d62e9d69 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