File: client

package info (click to toggle)
python-ceilometerclient 2.9.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 752 kB
  • sloc: python: 7,831; sh: 42; makefile: 27
file content (16 lines) | stat: -rwxr-xr-x 314 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
#-------------------------
# Testing client utilities
#-------------------------
set -e

cd "$AUTOPKGTEST_TMP"

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