File: client

package info (click to toggle)
python-neutronclient 1%3A6.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,856 kB
  • ctags: 3,289
  • sloc: python: 19,731; sh: 274; makefile: 21
file content (14 lines) | stat: -rwxr-xr-x 288 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
#-------------------------
# Testing client utilities
#-------------------------
set -e

HELP_CLIENTS=('neutron')
for client in "${HELP_CLIENTS[@]}"; do
    RET=$($client -h 2>&1 > /dev/null)

    if [[ $RET ]]; then
        echo "ERROR, ${client} is not running"
    fi
done