X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fa462ef71fbaf819397c59b2c07adf45a04af9f8..9383ac2311caa190a93fd6694c6c82390cabf044:/test/prompter/test-prompter diff --git a/test/prompter/test-prompter b/test/prompter/test-prompter index 9a25bc06..1950903c 100755 --- a/test/prompter/test-prompter +++ b/test/prompter/test-prompter @@ -35,8 +35,9 @@ Usage: prompter [switches] file -help EOF -run_prog prompter -help >$actual 2>&1 -check $expected $actual +#### Skip nmh intro text. +run_prog prompter -help | sed '/^$/,$d' >"$actual" 2>&1 +check "$expected" "$actual" # check -version case `prompter -v` in