File: smoke-test

package info (click to toggle)
bosh 0.6-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 612 kB
  • sloc: ansic: 2,008; sh: 1,005; makefile: 14
file content (17 lines) | stat: -rwxr-xr-x 228 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#-------------
# Testing bosh
#-------------
CMDS="
/usr/bin/bosh
"

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