From: Jeremy Allison Date: Tue, 14 Nov 2017 23:54:19 +0000 (-0800) Subject: s3: smbclient: tests: Test "volume" command over SMB1 and SMB2+. X-Git-Tag: samba-4.6.12~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=598cc463c5fb634588446fa15ea2e8ed39e36617;p=thirdparty%2Fsamba.git s3: smbclient: tests: Test "volume" command over SMB1 and SMB2+. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13140 Signed-off-by: Jeremy Allison Reviewed-by: Andreas Schneider Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Wed Nov 15 19:50:54 CET 2017 on sn-devel-144 (cherry picked from commit f8cd211acc3824e01d89a6f8b6666c39aa5cd54e) --- diff --git a/source3/script/tests/test_smbclient_s3.sh b/source3/script/tests/test_smbclient_s3.sh index ce1cb089ea9..fae8b1f245b 100755 --- a/source3/script/tests/test_smbclient_s3.sh +++ b/source3/script/tests/test_smbclient_s3.sh @@ -1277,6 +1277,34 @@ done LOGDIR=$(mktemp -d ${PREFIX}/${LOGDIR_PREFIX}_XXXXXX) +# Test doing a volume command. +test_volume() +{ + tmpfile=$PREFIX/smbclient_interactive_prompt_commands + cat > $tmpfile <