1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

selftest: explain how the message command test works

This commit is contained in:
Andrew Bartlett 2011-07-27 15:42:45 +10:00
parent ee20a27d41
commit 61cb2150cb
2 changed files with 3 additions and 0 deletions

View File

@ -872,6 +872,8 @@ sub provision($$$$$$$)
resolv:host file = $dns_host_file
# The samba3.blackbox.smbclient_s3 test uses this to test that
# sending messages works, and that the %m sub works.
message command = mv %s $shrdir/message.%m
# Begin extra options

View File

@ -260,6 +260,7 @@ EOF
return
fi
# The server writes this into a file message.msgtest, via message.%m to test the % sub code
cmd='$SMBCLIENT "$@" -U$USERNAME%$PASSWORD //$SERVER/tmpguest -p 139 $ADDARGS -c "get message.msgtest $PREFIX/message_out.$$" 2>&1'
eval echo "$cmd"
out=`eval $cmd`