[ovs-git] Open vSwitch: tests: Put AT_CAPTURE_FILE on its own line. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Aug 17 04:45:54 UTC 2012

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  4ba3d447bfff8fd72300a380abdfcb16a31dae79 (commit)
       via  77a922c7e53c3e9a2618d1f1a622bb2442f535b0 (commit)
      from  535e8b04b48f447d8b5fec8018c5931b1fb5cda2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4ba3d447bfff8fd72300a380abdfcb16a31dae79
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=4ba3d447bfff8fd72300a380abdfcb16a31dae79
Author: Ben Pfaff <blp at nicira.com>
tests: Put AT_CAPTURE_FILE on its own line.
This is a harmless typo, but the file is more readable with AT_CAPTURE_FILE
on its own line.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Kyle Mestery <kmestery at cisco.com>

commit 77a922c7e53c3e9a2618d1f1a622bb2442f535b0
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=77a922c7e53c3e9a2618d1f1a622bb2442f535b0
Author: Ben Pfaff <blp at nicira.com>
tests: Invoke daemons with --no-chdir so core files appear in test dir.
The OVS daemons "cd" to / as a normal part of their startup, since this is
traditional for daemons under Unix.  But this also means that, if the
daemons happen to terminate with a core in the unit tests, then the core
file won't be written because / has too-restrictive permissions.  (Unless
you run the unit tests as root, or you've got cores configured to go to a
non-standard location.)

This commit fixes the problem by invoking most daemons with --no-chdir so
that the core files go to a test-specific directory.  I didn't change
invocations of the Python daemons, since Python doesn't normally terminate
with a core.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Kyle Mestery <kmestery at cisco.com>


Summary of changes:
 tests/daemon.at         |    8 ++++----
 tests/jsonrpc.at        |    6 +++---
 tests/ofproto-dpif.at   |   17 +++++++++--------
 tests/ofproto-macros.at |    4 ++--
 tests/ovs-vsctl.at      |    2 +-
 tests/ovsdb-idl.at      |    4 ++--
 tests/ovsdb-monitor.at  |    4 ++--
 tests/ovsdb-server.at   |   14 +++++++-------
 8 files changed, 30 insertions(+), 29 deletions(-)

Open vSwitch

More information about the git mailing list