File: testsockets.sh

package info (click to toggle)
cde 0.1%2Bgit9-g551e54d-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,340 kB
  • ctags: 10,812
  • sloc: ansic: 75,881; sh: 4,282; python: 1,006; perl: 438; makefile: 297; lisp: 44; java: 5
file content (15 lines) | stat: -rwxr-xr-x 602 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# test case courtesy of William Schaub (wschaub@steubentech.com)

# remember to use ABSOLUTE PATHS!
rm -f /home/pgbovine/CDE/tests/socket_test/testsocket
./server.py /home/pgbovine/CDE/tests/socket_test/testsocket &
sleep 1
./client.py /home/pgbovine/CDE/tests/socket_test/testsocket <<HEREDOC
In the not so distant future. Way down in deep13
Dr. Forrester and TV's Frank were hatcing an evil scheme.
They hired a temp by the name of mike. Just a reuglar joe they didn't 
like. Their experiment needed a good test case.
So they cokned him on the noggin and they shot him into space.
HEREDOC