X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/46f35e659f3bc3e808a70263bea0ec72624c8a08..3b5c4415fa329b6046f6d9125e0f2a7b29ecae89:/test/mkstemp/test-mkstemp diff --git a/test/mkstemp/test-mkstemp b/test/mkstemp/test-mkstemp index 084f649a..fcc8cd57 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 '/^$/,$d' >"$actual" 2>&1 +check "$expected" "$actual" # check -version