Fixed test suite to work with Solaris Bourne shell:
[mmh] / test / post / test-post-fcc
index b8a9419..159823f 100755 (executable)
@@ -52,10 +52,12 @@ Date:
 This is a fcc test
 EOF
 
-msgname=$(mhpath +inbox 11)
+msgname=`mhpath +inbox 11`
 
-sed -i "" -e 's/^Date:.*/Date:/' ${msgname}
+sed -i.bak -e 's/^Date:.*/Date:/' "${msgname}"
 
-check "${testname}.msg.expected" ${msgname}
+rm -f "${msgname}.bak"
+
+check "${testname}.msg.expected" "${msgname}"
 
 exit ${failed:-0}