From b7001a4ad364611f2da8078c3b731772c2ba4108 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 14 Nov 2017 15:54:19 -0800 Subject: [PATCH] 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) --- source3/script/tests/test_smbclient_s3.sh | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) 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 <