From: Howard Chu Date: Thu, 29 Nov 2007 13:46:24 +0000 (+0000) Subject: awk portability fix from HEAD X-Git-Tag: OPENLDAP_REL_ENG_2_4_7~34 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=986d2bd83ecba9c7ab835ba816ffd099ffd39b71;p=openldap awk portability fix from HEAD --- diff --git a/tests/scripts/test020-proxycache b/tests/scripts/test020-proxycache index 6830c1c109..5787b226b9 100755 --- a/tests/scripts/test020-proxycache +++ b/tests/scripts/test020-proxycache @@ -417,7 +417,7 @@ esac #not answerable because of sizelimit, queries contained in it are no longer #answerable as well ANSWERABILITY=111001 -grep ANSWERABLE $LOG2 | awk -vFIRST=$FIRST '{ +grep ANSWERABLE $LOG2 | awk "BEGIN {FIRST=$FIRST}"'{ if (NR > FIRST) { if ($2 == "NOT") printf "Query %d not answerable\n",NR @@ -425,7 +425,7 @@ grep ANSWERABLE $LOG2 | awk -vFIRST=$FIRST '{ printf "Query %d answerable\n",NR } }' -ANSWERED=`grep ANSWERABLE $LOG2 | awk -vFIRST=$FIRST '{ +ANSWERED=`grep ANSWERABLE $LOG2 | awk "BEGIN {FIRST=$FIRST}"'{ if (NR > FIRST) { if ($2 == "NOT") printf "0"