File: help

package info (click to toggle)
swift-bench 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 208 kB
  • sloc: python: 986; makefile: 14; sh: 12
file content (19 lines) | stat: -rwxr-xr-x 332 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
#-----------------------
# Testing utilities help
#-----------------------
set -e

cd "$AUTOPKGTEST_TMP"

CMDS=('swift-bench')
for cmd in "${CMDS[@]}"; do
    if ! $cmd -h 2>&1 > /dev/null; then
        echo "ERROR, ${cmd} is not running"
        exit 1
    else
        echo "OK: ${cmd} is running"
    fi
done

exit 0