diff options
author | Eyal Soha <eyalsoha@google.com> | 2020-04-23 13:11:23 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-23 13:18:59 -0700 |
commit | cc5de905e628c5e9aca7e7a333d6dd9638719b6a (patch) | |
tree | e170dde00561cbd66eb0de53d14c7c6d8cf9bd76 /test | |
parent | 2e8c35b506654172243ea46918d27c897fca568c (diff) |
Fix test output so that filenames have the correct path.
Tested:
Intentionally introduce an error and then run:
blaze test --test_output=streamed //third_party/gvisor/test/packetimpact/tests:tcp_outside_the_window_linux_test
PiperOrigin-RevId: 308114194
Diffstat (limited to 'test')
-rwxr-xr-x | test/packetimpact/tests/test_runner.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/packetimpact/tests/test_runner.sh b/test/packetimpact/tests/test_runner.sh index 46d63d5e5..e938de782 100755 --- a/test/packetimpact/tests/test_runner.sh +++ b/test/packetimpact/tests/test_runner.sh @@ -262,7 +262,10 @@ sleep 3 # Start a packetimpact test on the test bench. The packetimpact test sends and # receives packets and also sends POSIX socket commands to the posix_server to # be executed on the DUT. -docker exec -t "${TESTBENCH}" \ +docker exec \ + -e XML_OUTPUT_FILE="/test.xml" \ + -e TEST_TARGET \ + -t "${TESTBENCH}" \ /bin/bash -c "${DOCKER_TESTBENCH_BINARY} \ ${EXTRA_TEST_ARGS[@]-} \ --posix_server_ip=${CTRL_NET_PREFIX}${DUT_NET_SUFFIX} \ |