1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

selftest: Test for bug 12558

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12558

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2017-04-07 16:33:57 +02:00 committed by Jeremy Allison
parent 94b7672d48
commit 3667876ebe

View File

@ -346,6 +346,17 @@ test_msdfs_link()
tmpfile=$PREFIX/smbclient.in.$$
prompt=" msdfs-target "
cmd='$SMBCLIENT "$@" -U$USERNAME%$PASSWORD //$SERVER/msdfs-share -I $SERVER_IP $ADDARGS -m nt1 -c dir 2>&1'
out=`eval $cmd`
ret=$?
if [ $ret != 0 ] ; then
echo "$out"
echo "failed listing msfds-share\ with error $ret"
false
return
fi
cat > $tmpfile <<EOF
ls
cd \\msdfs-src1