Add basic DFS tests.
[samba.git] / source3 / script / tests / test_net_s3.sh
1 #!/bin/sh
2
3 # tests for the "net" command
4
5 test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
6 incdir=`dirname $0`
7 . $incdir/test_functions.sh
8 }
9
10 failed=0
11
12 net_misc() {
13         echo "RUNNING SUBTESTS net_misc"
14         $SCRIPTDIR/test_net_misc.sh \
15         || failed=`expr $failed + $?`
16 }
17
18 net_registry() {
19         echo "RUNNING SUBTESTS net_registry"
20         $SCRIPTDIR/test_net_registry.sh \
21         || failed=`expr $failed + $?`
22 }
23
24 net_rpc_registry() {
25         echo "RUNNING SUBTESTS net_rpc_registry"
26         $SCRIPTDIR/test_net_registry.sh rpc \
27         || failed=`expr $failed + $?`
28 }
29
30 net_misc
31 net_registry
32 net_rpc_registry
33
34 testok $0 $failed
35