File: client

package info (click to toggle)
python-glanceclient 1%3A3.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,484 kB
  • sloc: python: 15,321; sh: 90; makefile: 27
file content (16 lines) | stat: -rwxr-xr-x 337 bytes parent folder | download | duplicates (4)
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=('glance')
for client in "${HELP_CLIENTS[@]}"; do
    if ! $client -h 2>&1 > /dev/null; then
        echo "ERROR, ${client} is not running"
        exit 1
    else
        echo "OK: ${client} is running"
    fi
done
exit 0