aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell
diff options
context:
space:
mode:
authorGravatar Klaus Aehlig <aehlig@google.com>2016-06-27 11:25:40 +0000
committerGravatar Dmitry Lomov <dslomov@google.com>2016-06-27 11:41:33 +0000
commit99843a88ab52f5b82e3fd934cefb7bbae58c1f04 (patch)
tree578d46525d48d89c40f7e53d56d4f43319341c69 /src/test/shell
parent38ebf2adf552bc32489d5a1053797c50fe5be25f (diff)
experimental UI: Avoid empty lines
...to save a bit of horizontal space in the scroll-back buffer. The color-coding already gives enough navigation hints. -- Change-Id: Id0e5decc6bd495a99ec839c096700406d8d1bab9 Reviewed-on: https://bazel-review.googlesource.com/#/c/3902 MOS_MIGRATED_REVID=125943242
Diffstat (limited to 'src/test/shell')
-rwxr-xr-xsrc/test/shell/integration/experimental_ui_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/shell/integration/experimental_ui_test.sh b/src/test/shell/integration/experimental_ui_test.sh
index 9f4a855fd4..f0c7adeed0 100755
--- a/src/test/shell/integration/experimental_ui_test.sh
+++ b/src/test/shell/integration/experimental_ui_test.sh
@@ -216,7 +216,7 @@ function test_failure_scrollback_buffer_curses {
--nocache_test_results pkg:false pkg:slow 2>$TEST_log \
&& fail "expected failure"
# Some line starts with FAIL in red bold.
- expect_log '^'$'\x1b\[31m\x1b\[1mFAIL:'
+ expect_log '^'$'\(.*\x1b\[K\)*\x1b\[31m\x1b\[1mFAIL:'
}
function test_failure_scrollback_buffer {