File: client

package info (click to toggle)
python-neutronclient 1%3A7.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,868 kB
  • sloc: python: 32,902; sh: 223; makefile: 16
file content (14 lines) | stat: -rwxr-xr-x 288 bytes parent folder | download | duplicates (7)
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