File: test-echoping-local

package info (click to toggle)
echoping 6.0.2-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 9,296 kB
  • ctags: 515
  • sloc: sh: 8,951; ansic: 3,352; makefile: 170
file content (18 lines) | stat: -rwxr-xr-x 684 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# $Id: test-echoping-local 377 2007-03-12 20:48:05Z bortz $

echo ""
echo "A message such as 'connection refused' is not always an error"
echo " you may not have an appropriate server."
echo " UDP tests can also fail with a timeout if you do not have the server."

# Some operating systems, like Solaris or Tru64, uses a file "ipnodes",
# somewhere under /etc, in which "localhost" resolves to an IPv6
# address (::1), even if the machine has no IPv6 at all. Hence the -4.
./echoping -4 localhost
./echoping -4 -u localhost
./echoping -4 -d localhost
./echoping -4 -d -u localhost
#./echoping -4 -c localhost # chargen is too often unavailable
./echoping -4 -h / localhost