X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ef02b5cfad61304c9745f112a9a5b76f12b6c1ed..880ff2a4:/test/mkstemp/test-mkstemp diff --git a/test/mkstemp/test-mkstemp b/test/mkstemp/test-mkstemp index 084f649a..94ce0567 100755 --- a/test/mkstemp/test-mkstemp +++ b/test/mkstemp/test-mkstemp @@ -47,8 +47,9 @@ else EOF fi -$mkstemp -h >$actual 2>&1 -check $expected $actual +#### Skip nmh intro text. +run_prog $mkstemp -h | sed '/^$/Q' >"$actual" 2>&1 +check "$expected" "$actual" # check -version