On Mon, Jun 22, 2015 at 3:45 PM, Alin Serdean <aserd...@cloudbasesolutions.com> wrote: > In case the ovsdb-server failed to start, the defined service was not > properly cleaned. > > Add a run-if-false command in case the service failed to start. > > Signed-off-by: Alin Gabriel Serdean <aserd...@cloudbasesolutions.com> Applied, thanks.
> --- > tests/daemon.at | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/daemon.at b/tests/daemon.at > index dd7a3f4..51d56c5 100644 > --- a/tests/daemon.at > +++ b/tests/daemon.at > @@ -172,7 +172,7 @@ AT_CHECK([sc create ovsdb-server > binpath="$abs_path/ovsdb-server `pwd`/db --log- > [0], [[[SC]] CreateService SUCCESS > ]) > > -AT_CHECK([sc start ovsdb-server], [0], [ignore]) > +AT_CHECK([sc start ovsdb-server], [0], [ignore], [ignore], [sc delete > ovsdb-server]) > OVS_WAIT_UNTIL([test -s pid]) > OVS_WAIT_UNTIL([sc query ovsdb-server | grep STATE | grep RUNNING > > /dev/null 2>&1]) > AT_CHECK([kill -0 `cat pid`], [0], [ignore]) > -- > 1.9.5.msysgit.0 > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev