mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
835f8f4339
as nmbd skip interfaces with address 127.0.0.1 - add samba3 smbclient -L tests - add samba3 smbtorture tests metze
24 lines
543 B
Bash
Executable File
24 lines
543 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# this runs the file serving tests that are expected to pass with samba3
|
|
|
|
if [ $# != 2 ]; then
|
|
cat <<EOF
|
|
Usage: test_smbclient_s3.sh SERVER SERVER_IP
|
|
EOF
|
|
exit 1;
|
|
fi
|
|
|
|
SERVER="$1"
|
|
SERVER_IP="$2"
|
|
|
|
incdir=`dirname $0`
|
|
. $incdir/test_functions.sh
|
|
|
|
failed=0
|
|
|
|
testit "smbclient -L $SERVER_IP" $VALGRIND $SRCDIR/bin/smbclient $CONFIGURATION -L $SERVER_IP -N -p 139 || failed=`expr $failed + 1`
|
|
testit "smbclient -L $SERVER" $VALGRIND $SRCDIR/bin/smbclient $CONFIGURATION -L $SERVER -N -p 139 || failed=`expr $failed + 1`
|
|
|
|
testok $0 $failed
|