summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlin Serdean <aserdean@cloudbasesolutions.com>2016-06-08 14:02:20 +0000
committerBen Pfaff <blp@ovn.org>2016-06-14 10:05:21 -0700
commit439357632b26ef4cba7c99e1862a3c4192d5d0e2 (patch)
tree88d0304d846a9d996e543199bee764adff127afc /tests
parent5b73d2c071d8ec2e8ec49fe4c14b6f9e4c379ca3 (diff)
downloadopenvswitch-439357632b26ef4cba7c99e1862a3c4192d5d0e2.tar.gz
at test vlog: Switch from stderr to log
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@cloudbasesolutions.com> Acked-by: Paul-Daniel Boca <pboca@cloudbasesolutions.com> Tested-by: Paul-Daniel Boca <pboca@cloudbasesolutions.com> Acked-by: Ryan Moats <rmoats@us.ibm.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/vlog.at10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/vlog.at b/tests/vlog.at
index b793611c4..b96f39423 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