File: smoke-test

package info (click to toggle)
arping 2.28-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,104 kB
  • sloc: sh: 4,707; ansic: 4,028; exp: 405; python: 142; makefile: 34
file content (17 lines) | stat: -rwxr-xr-x 237 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#---------------
# Testing arping
#---------------
CMDS="
/usr/sbin/arping
"

for cmd in $CMDS; do
	$cmd --help > /dev/null 2>&1
	RET=$?

	if [ $RET -ne 0 ]; then
	  echo "ERROR, failed to run ${cmd}" >&2
	  exit $RET
	fi
done