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:
parent
ee20a27d41
commit
61cb2150cb
@ -872,6 +872,8 @@ sub provision($$$$$$$)
|
|||||||
|
|
||||||
resolv:host file = $dns_host_file
|
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
|
message command = mv %s $shrdir/message.%m
|
||||||
|
|
||||||
# Begin extra options
|
# Begin extra options
|
||||||
|
@ -260,6 +260,7 @@ EOF
|
|||||||
return
|
return
|
||||||
fi
|
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'
|
cmd='$SMBCLIENT "$@" -U$USERNAME%$PASSWORD //$SERVER/tmpguest -p 139 $ADDARGS -c "get message.msgtest $PREFIX/message_out.$$" 2>&1'
|
||||||
eval echo "$cmd"
|
eval echo "$cmd"
|
||||||
out=`eval $cmd`
|
out=`eval $cmd`
|
||||||
|
Loading…
Reference in New Issue
Block a user