Testsuite: ignore differentce in libgsasl version
authorJeremy Harris <jgh146exb@wizmail.org>
Sat, 29 Feb 2020 18:18:46 +0000 (18:18 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Sat, 29 Feb 2020 18:18:46 +0000 (18:18 +0000)
test/runtest
test/stdout/3820

index ffa0a7112973c3bb5c6ba5ede43fe128b975fa2c..e914ccb563e8f929e07d6dc767d9a573ed0eb1e0 100755 (executable)
@@ -1029,6 +1029,9 @@ RESET_AFTER_EXTRA_LINE_READ:
     # TLS resumption is not always supported by the build
     next if /^tls_resumption_hosts =/;
     next if /^-tls_resumption/;
     # TLS resumption is not always supported by the build
     next if /^tls_resumption_hosts =/;
     next if /^-tls_resumption/;
+
+    # gsasl library version may not support some methods
+    s/250-AUTH ANONYMOUS PLAIN SCRAM-SHA-1\K SCRAM-SHA-256//;
     }
 
   # ======== stderr ========
     }
 
   # ======== stderr ========
index be1a2c53bf9bb45ce900e8ab6df58030c4095af9..25723136a538aeac65844780f91eed05b4c30cbb 100644 (file)
@@ -11,7 +11,7 @@ Connecting to 127.0.0.1 port 1225 ... connected
 ??? 250-
 <<< 250-PIPELINING
 ??? 250-
 ??? 250-
 <<< 250-PIPELINING
 ??? 250-
-<<< 250-AUTH ANONYMOUS PLAIN SCRAM-SHA-1 SCRAM-SHA-256
+<<< 250-AUTH ANONYMOUS PLAIN SCRAM-SHA-1
 ??? 250
 <<< 250 HELP
 >>> AUTH PLAIN AHBoMTAAc2VjcmV0
 ??? 250
 <<< 250 HELP
 >>> AUTH PLAIN AHBoMTAAc2VjcmV0