File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ build() {
23
23
test -r simh/scp.c || git submodule update --init
24
24
test -x simh/BIN/h316 || (build)
25
25
26
- echo Starting ARPANET. Allow 30 seconds for IMP network to settle.
26
+ echo " Starting ARPANET. Allow 30 seconds for IMP network to settle."
27
27
./arpanet.sh start
28
28
# Some time for NCP too.
29
29
sleep 10
@@ -39,6 +39,7 @@ NCP=ncp2 $APPS/ncp-ping -c1 005 && fail
39
39
40
40
echo " Test RFC to socket without server."
41
41
NCP=ncp3 $APPS /ncp-finger 002 && fail
42
+ sleep 2
42
43
43
44
echo " Test ICP and simple data transfer using the Finger protocol."
44
45
NCP=ncp2 $APPS /ncp-finser || fail &
@@ -48,4 +49,13 @@ NCP=ncp3 $APPS/ncp-finger 002 "Sample Finger command from client." || fail &
48
49
sleep 3
49
50
kill $! $PID 2> /dev/null || :
50
51
52
+ echo " Test a TELNET session."
53
+
54
+ NCP=ncp2 $APPS /ncp-telnet -bs || fail &
55
+ PID=$!
56
+ sleep 1
57
+ (echo test ; sleep 1) | NCP=ncp3 $APPS /ncp-telnet -bc 002 | grep -a Welcome || fail &
58
+ sleep 3
59
+ kill $! $PID 2> /dev/null && fail
60
+
51
61
exit $RESULT
You can’t perform that action at this time.
0 commit comments