File: client

package info (click to toggle)
python-ceilometerclient 2.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 724 kB
  • ctags: 1,164
  • sloc: python: 7,828; sh: 62; makefile: 22
file content (16 lines) | stat: -rwxr-xr-x 305 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
#-------------------------
# Testing client utilities
#-------------------------
set -e

cd "$ADTTMP"

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

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