~ubuntu-branches/ubuntu/vivid/neutron/vivid

« back to all changes in this revision

Viewing changes to debian/tests/neutron-server

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-01-27 12:22:12 UTC
  • Revision ID: package-import@ubuntu.com-20150127122212-falfd5f0leu9w81j
Tags: 1:2015.1~b1-0ubuntu7
* d/tests/*: Tidy up DEP-8 tests:
  - Drop linuxbridge and openvswitch tests, replace with ml2 test.
  - Split gateway agents into separate test case, ensure interface
    driver is correctly configured to avoid agent test failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
#-----------------------
 
3
# Testing neutron-server
 
4
#-----------------------
 
5
set -e
 
6
DAEMONS=('neutron-server')
 
7
for daemon in "${DAEMONS[@]}"; do
 
8
    if pidof -x $daemon > /dev/null; then
 
9
        echo "OK"
 
10
    else
 
11
        echo "ERROR: ${daemon} IS NOT RUNNING"
 
12
        exit 1
 
13
    fi
 
14
done