diff options
author | Lance Richardson <lrichard@redhat.com> | 2016-03-02 16:40:47 -0500 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2016-03-18 16:59:38 -0700 |
commit | d9c8c57c48a22b145cf1b5e78839ac0a16e039e9 (patch) | |
tree | 69437d105b7e932f94563b40139c8b3718a742f7 /tests/bridge.at | |
parent | 5074bfc4f42d7ffa3f09e0ceeef3f2f10dd97384 (diff) | |
download | openvswitch-d9c8c57c48a22b145cf1b5e78839ac0a16e039e9.tar.gz |
tests: consistently use OVS_APP_EXIT_AND_WAIT() for daemon termination
Tools such as gcov rely on normal termination (via exit()), ensure
consistent graceful termination of daemons in tests by using
the OVS_APP_EXIT_AND_WAIT() macro.
Signed-off-by: Lance Richardson <lrichard@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests/bridge.at')
-rw-r--r-- | tests/bridge.at | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bridge.at b/tests/bridge.at index c9ad1e6e5..056118611 100644 --- a/tests/bridge.at +++ b/tests/bridge.at @@ -35,4 +35,6 @@ dummy@ovs-dummy: hit:0 missed:0 br0 65534/100: (dummy) p1 1/1: (dummy) ]) +OVS_APP_EXIT_AND_WAIT([ovs-vswitchd]) +OVS_APP_EXIT_AND_WAIT([ovsdb-server]) AT_CLEANUP |