BIGTOP-2871. Make run_itest report Standard Error from tests to stderr
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/2d2197d4 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/2d2197d4 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/2d2197d4 Branch: refs/heads/master Commit: 2d2197d4be186df27e7f2c50b0339f3f1fa4918f Parents: 602f15c Author: Roman Shaposhnik <[email protected]> Authored: Thu Aug 17 10:38:03 2017 -0700 Committer: Roman Shaposhnik <[email protected]> Committed: Thu Aug 17 10:38:03 2017 -0700 ---------------------------------------------------------------------- bigtop-tests/smoke-tests/run_itest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/2d2197d4/bigtop-tests/smoke-tests/run_itest.sh ---------------------------------------------------------------------- diff --git a/bigtop-tests/smoke-tests/run_itest.sh b/bigtop-tests/smoke-tests/run_itest.sh index c51e2e8..fc4ce57 100755 --- a/bigtop-tests/smoke-tests/run_itest.sh +++ b/bigtop-tests/smoke-tests/run_itest.sh @@ -237,7 +237,7 @@ print_tests() { for FILE in $(find -L reports/tests/classes -type f -name "*.html"); do echo "## $TESTDIR/$FILE" - links $FILE -dump + links $FILE -dump | awk '/^Standard error$/ { stop_stdin=1 } (!stop_stdin) { print $0; } { print $0 > "/dev/stderr" }' echo "" done fi
