]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test020-proxycache
s/ldap_sync.h/ldap.h/
[openldap] / tests / scripts / test020-proxycache
index 6830c1c10908aa92a5159c69cec761bbb0a13f44..9435959abb927649bcba1bc24f1d131604ad1ba8 100755 (executable)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2007 The OpenLDAP Foundation.
+## Copyright 1998-2008 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -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"