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 incdir=`dirname $0`/../../../testprogs/blackbox
30 ${NETTIME} -S ${SERVER} ${PARAM}
40 testit "get the time" \
42 failed=`expr $failed + 1`
44 testit "get the system time" \
46 failed=`expr $failed + 1`
48 testit "get the time zone" \
50 failed=`expr $failed + 1`
52 testit "lookup the PDC" \
54 failed=`expr $failed + 1`
56 testit "lookup the master browser" \
57 test_lookup master || \
58 failed=`expr $failed + 1`