+   AT_CHECK([$3 $srcdir/test-unixctl.py --log-file=`pwd`/log --pidfile \
+     --detach 2>/dev/null], [0], [], [ignore])

Either ignore stderr or 2>/dev/null. In case [ignore] doesn't work please add a 
comment so others will be aware of the problem

Alin.

> -----Mesaj original-----
> De la: dev [mailto:dev-boun...@openvswitch.org] În numele Paul Boca
> Trimis: Wednesday, July 6, 2016 3:39 PM
> Către: dev@openvswitch.org
> Subiect: [ovs-dev] [PATCH V6 14/17] python tests: Ignore stderr output
> 
> test-unixctl.py and test-vlog.py outputs on stderr and on Windows stderr is
> not overriden by every AT_CHECK call, the logs are only apended to the file
> and subsequent AT_CHECKs get errors from previous call.
> 
> +   AT_CHECK([$3 $srcdir/test-unixctl.py --log-file=`pwd`/log --pidfile \
> +     --detach 2>/dev/null], [0], [], [ignore])
> 
>     AT_CHECK([APPCTL -t test-unixctl.py vlog/list], [0], [dnl
>                   console    syslog    file
> @@ -499,7 +501,7 @@ m4_define([VLOG_RFC5424_PYN],
>  ])
> 
>     AT_CHECK([$3 $srcdir/test-unixctl.py --log-file=`pwd`/log --pidfile \ --
> vFACILITY:daemon --detach])
> +-vFACILITY:daemon --detach], [0], [], [ignore])
> 
>     AT_CHECK([ovs-appctl -t test-unixctl.py vlog/set FACILITY:invalid], [0],
> [Facility invalid is invalid
> --
> 2.7.2.windows.1
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to