1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

s3:script/tests: don't use hardcoded Domain Name in test_smbclient_s3.sh

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Stefan Metzmacher
2017-06-11 23:40:34 +02:00
parent 9df4290202
commit 5715f74e44

View File

@ -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