aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell/bazel/execroot_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/shell/bazel/execroot_test.sh')
-rwxr-xr-xsrc/test/shell/bazel/execroot_test.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/shell/bazel/execroot_test.sh b/src/test/shell/bazel/execroot_test.sh
index 4f64e09851..720230a119 100755
--- a/src/test/shell/bazel/execroot_test.sh
+++ b/src/test/shell/bazel/execroot_test.sh
@@ -38,7 +38,10 @@ genrule(
EOF
bazel build -s //dir:use-srcs &> $TEST_log || fail "expected success"
- test -e "$(bazel info execution_root)/../${ws_name}"
+ execroot="$(bazel info execution_root)"
+ test -e "$execroot/../${ws_name}"
+ ls -l bazel-out | tee out
+ assert_contains "$execroot/bazel-out" out
}
run_suite "execution root tests"