tests: Gracefully terminate daemons in OVN tests
authorLance Richardson <lrichard@redhat.com>
Thu, 25 Feb 2016 15:57:28 +0000 (10:57 -0500)
committerBen Pfaff <blp@ovn.org>
Thu, 25 Feb 2016 16:24:36 +0000 (08:24 -0800)
commitfcde56f53c701d6d49d912a4f6aa8da2e9c0cb94
tree38b7cf99fe9f058ef45ed4eaa5863523d0d865dd
parent8bf009bf8ab4d4b638f3e41f33572c4238b40748
tests: Gracefully terminate daemons in OVN tests

Daemons started in OVN tests are currently killed (via "on_exit kill"
in start_daemon()). This is problematic for tools (such as gcov) that
rely on exit() being called.

Fix by using "ovs-appctl ... exit" to gracefully terminate the daemons.

Signed-off-by: Lance Richardson <lrichard@redhat.com>
Tested-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
tests/ovn-controller.at
tests/ovn.at