3 # various tests for the "net" command
7 Usage: test_net_misc.sh SCRIPTDIR SERVERCONFFILE NET CONFIGURATION
17 NET
="$VALGRIND ${NET:-$BINDIR/net} $CONFIGURATION"
20 NETLOOKUP
="${NET} lookup"
22 incdir
=`dirname $0`/..
/..
/..
/testprogs
/blackbox
31 ${NETTIME} -S ${SERVER} ${PARAM}
41 testit
"get the time" \
43 failed
=`expr $failed + 1`
45 testit
"get the system time" \
47 failed
=`expr $failed + 1`
49 testit
"get the time zone" \
51 failed
=`expr $failed + 1`
53 testit
"lookup the PDC" \
55 failed
=`expr $failed + 1`
57 testit
"lookup the master browser" \
58 test_lookup master || \
59 failed
=`expr $failed + 1`