46 echo "exit status was $status"
47 exit $status
48 } #end of fail()
49
50 #Call this from anywhere to pass the test with a message
51 # usage: pass "reason why the test passed if applicable"
52 pass()
53 { echo "The test passed!!!"
54 echo "$*" 1>&2
55 exit 0
56 } #end of pass()
57
58 # end of subroutines
59
60
61 # The beginning of the script proper
62
63 OS=`uname -s`
64 export TRANSPORT_METHOD
65 case "$OS" in
66 SunOS | Linux | Darwin )
67 PATHSEP=":"
68 TRANSPORT_METHOD=dt_socket
69 ;;
70
71 Windows* | CYGWIN*)
72 PATHSEP=";"
73 TRANSPORT_METHOD=dt_shmem
74 ;;
75
76 # catch all other OSs
77 * )
78 echo "Unrecognized system! $OS"
79 fail "Unrecognized system! $OS"
80 ;;
81 esac
82 #
83 # Want this test to run standalone as well as in the harness, so do the
84 # following to copy the test's directory into the harness's scratch directory
85 # and set all appropriate variables:
86
|
46 echo "exit status was $status"
47 exit $status
48 } #end of fail()
49
50 #Call this from anywhere to pass the test with a message
51 # usage: pass "reason why the test passed if applicable"
52 pass()
53 { echo "The test passed!!!"
54 echo "$*" 1>&2
55 exit 0
56 } #end of pass()
57
58 # end of subroutines
59
60
61 # The beginning of the script proper
62
63 OS=`uname -s`
64 export TRANSPORT_METHOD
65 case "$OS" in
66 SunOS | Linux | Darwin | AIX )
67 PATHSEP=":"
68 TRANSPORT_METHOD=dt_socket
69 ;;
70
71 Windows* | CYGWIN*)
72 PATHSEP=";"
73 TRANSPORT_METHOD=dt_shmem
74 ;;
75
76 # catch all other OSs
77 * )
78 echo "Unrecognized system! $OS"
79 fail "Unrecognized system! $OS"
80 ;;
81 esac
82 #
83 # Want this test to run standalone as well as in the harness, so do the
84 # following to copy the test's directory into the harness's scratch directory
85 # and set all appropriate variables:
86
|