bx509d: Fix tests (log message diffs)
authorNicolas Williams <nico@twosigma.com>
Mon, 3 Jan 2022 03:37:43 +0000 (21:37 -0600)
committerNicolas Williams <nico@twosigma.com>
Mon, 3 Jan 2022 03:37:43 +0000 (21:37 -0600)
tests/kdc/check-bx509.in

index 1cef2e0e766de168cfeac462201307b0be6f2849..0a30c4de334feda92f63b979f82c395a2815c598 100644 (file)
@@ -590,7 +590,8 @@ KRB5CCNAME=$cache $gsstoken HTTP@$server | KRB5_KTNAME="$keytab" $gsstoken -r ||
     { echo "Trivial offline CA test failed (gss-token)"; exit 2; }
 
 # Check that we get up to three tixaddrs k/v in the log
-grep 'REQ.*numtixaddrs=4 tixaddrs=IPv4:8.8.8.8 tixaddrs=IPv4:8.9.10.11 tixaddrs=IPv4:11.11.11.11.*wrongaddr=yes' ${objdir}/messages.log ||
+grep 'REQ.*wrongaddr=true' ${objdir}/messages.log |
+    grep 'tixaddrs=IPv4:11.11.11.11' ||
     { echo "KDC not warning about requests from wrong address"; exit 2; }
 
 echo "Fetching a Negotiate token"