File: client

package info (click to toggle)
python-troveclient 1%3A2.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,088 kB
  • ctags: 2,226
  • sloc: python: 12,035; sh: 95; makefile: 37
file content (16 lines) | stat: -rwxr-xr-x 326 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
#-------------------------
# Testing client utilities
#-------------------------
set -e

HELP_CLIENTS=('trove')
for client in "${HELP_CLIENTS[@]}"; do
    if ! $client -h 2>&1 > /dev/null; then
        echo "ERROR, ${client} did not run"
        exit 1
    else
        echo "OK: ${client} ran"
    fi
done
exit 0