mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s3/script/tests: Use tarmode share for samba3.blackbox.smbclient_tar*
After this change both samba3.blackbox.smbclient_tar & samba3.blackbox.smbclient_tarmode now use the same dedicated share BUG: https://bugzilla.samba.org/show_bug.cgi?id=14581 Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
6cb0a00f4a
commit
be8dca68f8
@ -104,7 +104,7 @@ test_tarmode_creation() {
|
||||
fi
|
||||
|
||||
# Create tarfile with smbclient
|
||||
if ! $SMBCLIENT //$SERVER/tmp $CONFIGURATION -U$USERNAME%$PASSWORD -I $SERVER_IP -p 139 \
|
||||
if ! $SMBCLIENT //$SERVER/tarmode $CONFIGURATION -U$USERNAME%$PASSWORD -I $SERVER_IP -p 139 \
|
||||
$ADDARGS -c "tarmode full" -Tc "$PREFIX/tarmode.tar" "/smbclient_tar"; then
|
||||
echo "Couldn't create tar file with tarmode -Tc"
|
||||
false
|
||||
@ -153,7 +153,7 @@ test_tarmode_extraction() {
|
||||
fi
|
||||
|
||||
# Extract tarfile with smbclient
|
||||
if ! $SMBCLIENT //$SERVER/tmp $CONFIGURATION -U$USERNAME%$PASSWORD -I $SERVER_IP -p 139 \
|
||||
if ! $SMBCLIENT //$SERVER/tarmode $CONFIGURATION -U$USERNAME%$PASSWORD -I $SERVER_IP -p 139 \
|
||||
$ADDARGS -c "tarmode full" -Tx "$PREFIX/tarmode.tar"; then
|
||||
echo "Couldn't extact tar file with tarmode -Tx"
|
||||
false
|
||||
|
@ -484,11 +484,11 @@ for env in ["fileserver"]:
|
||||
plantestsuite("samba3.blackbox.smbclient_tarmode.NT1", env + "_smb1_done",
|
||||
[os.path.join(samba3srcdir, "script/tests/test_smbclient_tarmode.sh"),
|
||||
'$SERVER', '$SERVER_IP', '$USERNAME', '$PASSWORD',
|
||||
'$LOCAL_PATH/smbclient_tar', '$PREFIX', smbclient3, configuration, "-mNT1"])
|
||||
'$LOCAL_PATH/tarmode/smbclient_tar', '$PREFIX', smbclient3, configuration, "-mNT1"])
|
||||
plantestsuite("samba3.blackbox.smbclient_tarmode.SMB3", env,
|
||||
[os.path.join(samba3srcdir, "script/tests/test_smbclient_tarmode.sh"),
|
||||
'$SERVER', '$SERVER_IP', '$USERNAME', '$PASSWORD',
|
||||
'$LOCAL_PATH/smbclient_tar', '$PREFIX', smbclient3, configuration, "-mSMB3"])
|
||||
'$LOCAL_PATH/tarmode/smbclient_tar', '$PREFIX', smbclient3, configuration, "-mSMB3"])
|
||||
|
||||
# Test suite for new smbclient/tar with libarchive (GSoC 13)
|
||||
plantestsuite("samba3.blackbox.smbclient_tar.NT1", env + "_smb1_done",
|
||||
|
Loading…
x
Reference in New Issue
Block a user