]> diplodocus.org Git - nmh/blobdiff - test/mkstemp/test-mkstemp
Oops, should have offset file in showbuildenv rather than cat.
[nmh] / test / mkstemp / test-mkstemp
index 084f649..fcc8cd5 100755 (executable)
@@ -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