3 # various tests for the "net" command
7 Usage: test_net_misc.sh SCRIPTDIR SERVERCONFFILE CONFIGURATION
16 NET
="$VALGRIND ${NET:-$BINDIR/net} $CONFIGURATION"
19 NETLOOKUP
="${NET} lookup"
21 test x
"$TEST_FUNCTIONS_SH" != x
"INCLUDED" && {
22 incdir
=`dirname $0`/..
/..
/..
/testprogs
/blackbox
32 ${NETTIME} -S ${SERVER} ${PARAM}
42 testit
"get the time" \
44 failed
=`expr $failed + 1`
46 testit
"get the system time" \
48 failed
=`expr $failed + 1`
50 testit
"get the time zone" \
52 failed
=`expr $failed + 1`
54 testit
"lookup the PDC" \
56 failed
=`expr $failed + 1`
58 testit
"lookup the master browser" \
59 test_lookup master || \
60 failed
=`expr $failed + 1`