1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/script/tests/test_net_s3.sh
Stefan Metzmacher c0fdc71ecd s3:tests: add a guard arround . $incdir/test_functions.sh
So that caller can overwrite the functions.

metze
2009-01-30 19:48:00 +01:00

36 lines
581 B
Bash
Executable File

#!/bin/sh
# tests for the "net" command
test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
incdir=`dirname $0`
. $incdir/test_functions.sh
}
failed=0
net_misc() {
echo "RUNNING SUBTESTS net_misc"
$SCRIPTDIR/test_net_misc.sh \
|| failed=`expr $failed + $?`
}
net_registry() {
echo "RUNNING SUBTESTS net_registry"
$SCRIPTDIR/test_net_registry.sh \
|| failed=`expr $failed + $?`
}
net_rpc_registry() {
echo "RUNNING SUBTESTS net_rpc_registry"
$SCRIPTDIR/test_net_registry.sh rpc \
|| failed=`expr $failed + $?`
}
net_misc
net_registry
net_rpc_registry
testok $0 $failed