summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorrocky <rocky@gnu.org>2012-03-04 04:10:06 +0100
committerrocky <rocky@gnu.org>2012-03-04 04:10:06 +0100
commit3e8bf97c66ef91c782285bc1751121065bcab910 (patch)
tree40b5c26f7d724f9ba2b861c05babd6d4b16eb3a8 /test
parentdadd50840a3248c0ac164709230a21fa65c7ad71 (diff)
This time, for sure!
Diffstat (limited to 'test')
-rwxr-xr-xtest/check_common_fn.in2
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:"