@@ -145,7 +145,11 @@ dnl Ask the daemon named DAEMON to exit, via ovs-appctl (using the target
dnl argument), and then waits for it to exit.
m4_define([OVS_APP_EXIT_AND_WAIT_BY_TARGET],
[TMPPID=`cat "$OVS_RUNDIR"/$1.pid 2>/dev/null`
- AT_CHECK([ovs-appctl --target=$OVS_RUNDIR/ovsdb-server.$TMPPID.ctl exit])
+ if test "$IS_WIN32" = "yes"; then
+ AT_CHECK([ovs-appctl --target=$OVS_RUNDIR/ovsdb-server.ctl exit])
+ else
+ AT_CHECK([ovs-appctl --target=$OVS_RUNDIR/ovsdb-server.$TMPPID.ctl exit])
+ fi
OVS_WAIT_WHILE([kill -0 $TMPPID 2>/dev/null])])
dnl on_exit "COMMAND"
On Windows the CTL file doesn't contain the PID in it's name Signed-off-by: Paul-Daniel Boca <pboca@cloudbasesolutions.com> --- tests/ovs-macros.at | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)