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