2 echo "RUNNING TESTS local_s3"
3 $SCRIPTDIR/test_local_s3.sh \
4 || failed
=`expr $failed + $?`
8 echo "RUNNING TESTS smbtorture_s3"
9 $SCRIPTDIR/test_smbtorture_s3.sh \
10 //$SERVER_IP/tmp
$USERNAME $PASSWORD "" \
11 || failed
=`expr $failed + $?`
14 smbtorture_s3_encrypted
() {
15 echo "RUNNING TESTS smbtorture_s3_encrypted"
16 $SCRIPTDIR/test_smbtorture_s3.sh \
17 //$SERVER_IP/tmp
$USERNAME $PASSWORD "" "-e" \
18 || failed
=`expr $failed + $?`
22 echo "RUNNING TESTS smbclient_s3"
23 $SCRIPTDIR/test_smbclient_s3.sh
$SERVER $SERVER_IP $USERNAME $PASSWORD \
24 || failed
=`expr $failed + $?`
27 smbclient_s3_encrypted
() {
28 echo "RUNNING TESTS smbclient_s3_encrypted"
29 $SCRIPTDIR/test_smbclient_s3.sh
$SERVER $SERVER_IP $USERNAME $PASSWORD "-e" \
30 || failed
=`expr $failed + $?`
34 echo "RUNNING TESTS wbinfo_s3"
35 $SCRIPTDIR/test_wbinfo_s3.sh
$WORKGROUP $SERVER $USERNAME $PASSWORD \
36 || failed
=`expr $failed + $?`
40 echo "RUNNING TESTS ntlm_auth_s3"
41 $SCRIPTDIR/test_ntlm_auth_s3.sh \
42 || failed
=`expr $failed + $?`
46 echo "RUNNING TESTS net_s3"
47 $SCRIPTDIR/test_net_s3.sh \
48 || failed
=`expr $failed + $?`
52 echo "RUNNING TESTS testparm_s3"
53 $SCRIPTDIR/test_testparm_s3.sh \
54 || failed
=`expr $failed + $?`
58 echo "RUNNING TESTS posix_s3"
59 eval "$LIB_PATH_VAR="\
$SAMBA4SHAREDDIR:\$
$LIB_PATH_VAR"; export $LIB_PATH_VAR"
60 eval echo "$LIB_PATH_VAR=\$$LIB_PATH_VAR"
61 if [ -x "$SMBTORTURE4" ]; then
62 SMBTORTURE4VERSION
=`$SMBTORTURE4 --version`
64 if [ -n "$SMBTORTURE4" -a -n "$SMBTORTURE4VERSION" ];then
65 echo "Running Tests with Samba4's smbtorture"
66 echo $SMBTORTURE4VERSION
67 $SCRIPTDIR/test_posix_s3.sh \
68 //$SERVER_IP/tmp
$USERNAME $PASSWORD "" \
69 || failed
=`expr $failed + $?`
71 echo "Skip Tests with Samba4's smbtorture"
72 echo "Try to compile with --with-smbtorture4-path=PATH to enable"
78 if test "x$TESTS" = "x" ; then
81 smbtorture_s3_encrypted
83 smbclient_s3_encrypted
90 for THIS_TEST
in $TESTS; do