[ovs-dev] [PATCH] at test vlog: Switch from stderr to log
Alin Serdean
aserdean at cloudbasesolutions.com
Wed Jun 8 14:02:20 UTC 2016
Using the --detach parameter the child does not propagate the first
message to the parent.
Proposed change use the log file instead of the stderr.
Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
---
tests/vlog.at | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/tests/vlog.at b/tests/vlog.at
index b793611..b96f394 100644
--- a/tests/vlog.at
+++ b/tests/vlog.at
@@ -278,8 +278,9 @@ on_exit 'kill `cat test-unixctl.pid`'
AT_CAPTURE_FILE([log])
AT_CAPTURE_FILE([log.old])
AT_CHECK([ovstest test-unixctl --log-file=`pwd`/log --pidfile --detach],
- [0], [], [stderr])
-AT_CHECK([vlog_filt stderr], [0], [opened log file
+ [0], [], [ignore])
+AT_CHECK([vlog_filt log], [0], [opened log file
+Entering run loop.
])
AT_CHECK([APPCTL -t test-unixctl log message])
@@ -355,8 +356,9 @@ on_exit 'kill `cat test-unixctl.pid`'
AT_CAPTURE_FILE([log])
AT_CHECK([ovstest test-unixctl --log-file=`pwd`/log --pidfile --detach],
- [0], [], [stderr])
-AT_CHECK([vlog_filt stderr], [0], [opened log file
+ [0], [], [ignore])
+AT_CHECK([vlog_filt log], [0], [opened log file
+Entering run loop.
])
AT_CHECK([APPCTL -t test-unixctl vlog/list | sed -n '1,2p
--
1.9.5.msysgit.0
More information about the dev
mailing list