]> diplodocus.org Git - nmh/blobdiff - test/post/test-post-common.sh
Alter HasSuffixC()'s char * to be const.
[nmh] / test / post / test-post-common.sh
index 5692cc66c35129af7ccad34ef63405e49a4bb3bb..66feddca8c3f69d19b6142e97534e046b8644270 100755 (executable)
@@ -9,7 +9,7 @@ set -e
 
 setup_test
 
-arith_eval 64000 + `id -u` % 1000
+arith_eval 64000 + $$ % 1000
 localport=$arith_val
 testname="${MH_TEST_DIR}/$$"
 
@@ -29,7 +29,7 @@ echo "clientname: nosuchhost.example.com" >> ${MHMTSCONF}
 test_post ()
 { pid=`"${MH_OBJ_DIR}/test/fakesmtp" "$1" $localport`
 
-    run_prog send -draft -server 127.0.0.1 -port $localport $3 || exit 1
+    run_prog send -draft -server 127.0.0.1 -port $localport $3
 
     #
     # It's hard to calculate the exact Date: header post is going to