This time, for sure!

This commit is contained in:
rocky
2012-03-04 04:10:06 +01:00
parent dadd50840a
commit 3e8bf97c66

View File

@@ -149,7 +149,7 @@ test_legal_header() {
"${cmd}" ${opts} > ${outfile} 2>&1 "${cmd}" ${opts} > ${outfile} 2>&1
while read line; do while read line; do
@GREP@ "${line}" ${outfile} >/dev/null 2>&1 @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 "$0: Legal header test failed due to missing expected line:"
echo " ${line}" echo " ${line}"
echo "$0: Failed command:" echo "$0: Failed command:"