+
+
+start_test 'mhparam skips the welcome message'
+# The command will wait for the user to hit return. script seems to do what
+# we want by not waiting when run in the background.
+script -c 'mhparam path last' -f -q "$actual" >/dev/null &
+wait $!
+grep 'Welcome to nmh version ' "$actual" >/dev/null && false
+rm "$actual"
+finish_test
+
+
+start_test 'with welcome message'
+script -c 'pick last' -f -q "$actual" >/dev/null &
+wait $!