]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test020-proxycache
s/ldap_sync.h/ldap.h/
[openldap] / tests / scripts / test020-proxycache
index 44e55b6bd9e363244f8661f6265b0de380c44ff3..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
@@ -181,7 +181,7 @@ if test $RC != 0 ; then
 fi
 
 CNT=`expr $CNT + 1`
-FILTER="(uid=bjorn)"
+FILTER="(uid=johnd)"
 ATTRS="mail postaladdress telephonenumber cn uid"
 echo "Query $CNT: filter:$FILTER attrs:$ATTRS"  
 echo "# Query $CNT: filter:$FILTER attrs:$ATTRS" >> $SEARCHOUT
@@ -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"