diff options
author | rocky <rocky@gnu.org> | 2012-03-04 04:10:06 +0100 |
---|---|---|
committer | rocky <rocky@gnu.org> | 2012-03-04 04:10:06 +0100 |
commit | 3e8bf97c66ef91c782285bc1751121065bcab910 (patch) | |
tree | 40b5c26f7d724f9ba2b861c05babd6d4b16eb3a8 /test | |
parent | dadd50840a3248c0ac164709230a21fa65c7ad71 (diff) |
This time, for sure!
Diffstat (limited to 'test')
-rwxr-xr-x | test/check_common_fn.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/check_common_fn.in b/test/check_common_fn.in index de2bbf48..95b66ab2 100755 --- a/test/check_common_fn.in +++ b/test/check_common_fn.in @@ -149,7 +149,7 @@ test_legal_header() { "${cmd}" ${opts} > ${outfile} 2>&1 while read line; do @GREP@ "${line}" ${outfile} >/dev/null 2>&1 - if ! ; then + if [ "$?" -ne 0 ] ; then echo "$0: Legal header test failed due to missing expected line:" echo " ${line}" echo "$0: Failed command:" |