diff options
author | Bindu Mahadev <bmahadev@google.com> | 2016-07-13 17:00:02 -0700 |
---|---|---|
committer | Bindu Mahadev <bmahadev@google.com> | 2016-07-13 17:00:02 -0700 |
commit | 3f8e37d1355639245e6f88b571be98ea6dfc77d4 (patch) | |
tree | 9cfeb1a603ed8af4226d7acbaa6650e6155c35a1 | |
parent | 2d4ecdddfa758b56048aa3fe4022f985869b46dd (diff) | |
download | kernel_tests-n-iot-preview-2.tar.gz kernel_tests-n-iot-preview-2.tar.bz2 kernel_tests-n-iot-preview-2.zip |
Redirect the output from script for kernel tests.android-wear-7.1.1_r1android-n-preview-5android-n-iot-preview-2nougat-mr1-wear-releasen-iot-preview-2
Currently, all the output from the script is going into stdout.
When a build breaks the stderr file is used for telling breakage
reason and a snippet from this file appears in emails. Right now
only the .zip downloading output goes to the stderr that unnecessarly
fills up the file. Hence, redirect all test results to stderr and
supress wget output, so that only useful information gets into email
snippets.
BUG=b:29003489
TEST=Tested locally
Change-Id: I1719ec5993c5819d509e933f543ec3c32260e92e
-rwxr-xr-x | net/test/run_net_test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/test/run_net_test.sh b/net/test/run_net_test.sh index a67015bd..e41946dd 100755 --- a/net/test/run_net_test.sh +++ b/net/test/run_net_test.sh @@ -63,7 +63,7 @@ if [ ! -f $ROOTFS ]; then echo "Deleting $COMPRESSED_ROOTFS" >&2 rm -f $COMPRESSED_ROOTFS echo "Downloading $URL" >&2 - wget $URL + wget -nv $URL echo "Uncompressing $COMPRESSED_ROOTFS" >&2 unxz $COMPRESSED_ROOTFS fi @@ -132,4 +132,4 @@ dir=/host$(dirname $(readlink -f $0)) # Start the VM. exec $KERNEL_BINARY umid=net_test ubda=$(dirname $0)/$ROOTFS \ mem=512M init=/sbin/net_test.sh net_test=$dir/$test \ - net_test_mode=$testmode $netconfig $consolemode + net_test_mode=$testmode $netconfig $consolemode >&2 |