]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:script/tests: don't use hardcoded Domain Name in test_smbclient_s3.sh
authorStefan Metzmacher <metze@samba.org>
Sun, 11 Jun 2017 21:40:34 +0000 (23:40 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 13 Jun 2017 20:46:14 +0000 (22:46 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/script/tests/test_smbclient_s3.sh

index 1359ed2b7bd10d81c586d22f3b0504bd95dca4d2..17ef9388ab29e99495dd6068eb87aa6b79a33a9f 100755 (executable)
@@ -1232,11 +1232,11 @@ EOF
        return
     fi
 
-    echo "$out" | grep 'Domain=\[SAMBA.*\] OS=\[Windows [0-9]\.[0-9]\] Server=\[Samba'
+    echo "$out" | grep "Domain=\[[a-zA-Z][a-zA-Z0-9.-]*\] OS=\[Windows [0-9]\.[0-9]\] Server=\[Samba"
     ret=$?
     if [ $ret -ne 0 ] ; then
        echo "$out"
-       echo "failed - should get: Domain=[SAMBA-TEST] OS=[Windows 6.1] Server=..."
+       echo "failed - should get: Domain=[...] OS=[Windows 6.1] Server=..."
        false
        return
     fi