-# The will command wait for the user to hit return. script seems to do what
-# we want, continue, when run in the background.
-script -c 'pick last' -f -q "$actual" >/dev/null &
-wait $!
+
+
+start_test 'mhparam skips the welcome message'
+run_without_input mhparam path
+grep 'Welcome to nmh version ' "$actual" >/dev/null && false
+# Make sure that version wasn't added to context.
+grep "^${version}$" "${MH_TEST_DIR}/Mail/context" >/dev/null && false
+rm "$actual"
+
+
+start_test 'Welcome: disable in profile skips the welcome message'
+cp "${MH}" "${MH}-welcome"
+printf 'Welcome: disable\n' >> "${MH}-welcome"
+(MH="${MH}-welcome" run_without_input pick last)
+grep 'Welcome to nmh version ' "$actual" >/dev/null && false
+# Make sure that version wasn't added to context.
+grep "^${version}$" "${MH_TEST_DIR}/Mail/context" >/dev/null && false
+rm "$actual"
+
+
+start_test 'with welcome message'
+run_without_input pick last