[ovs-git] [openvswitch/ovs] f9b11f: tests: Make OVS_APP_EXIT_AND_WAIT() wait for proce...

GitHub noreply at github.com
Fri Mar 18 23:55:47 UTC 2016

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: f9b11f2a09b45c87995d69588fc0a9f03661725e
  Author: Lance Richardson <lrichard at redhat.com>
  Date:   2016-03-18 (Fri, 18 Mar 2016)

  Changed paths:
    M tests/ovs-macros.at

  Log Message:
  tests: Make OVS_APP_EXIT_AND_WAIT() wait for process termination

Currently OVS_APP_EXIT_AND_WAIT() only waits for the pid file
to be removed.  When using gcov (and likely other utilities),
we need to ensure that the application has actually exited.

Also adding AT_CHECK() around the exit request to allow simplification
of tests using open-coded versions of this macro.

Signed-off-by: Lance Richardson <lrichard at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>

More information about the git mailing list