1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-22 02:50:28 +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>
(cherry picked from commit 3667876ebebb7181d89834e6038e2d7218c98797)
This commit is contained in:
Volker Lendecke 2017-04-07 16:33:57 +02:00 committed by Karolin Seeger
parent ef48aa4867
commit 122e46f9fb

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