aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell/integration/runfiles_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/shell/integration/runfiles_test.sh')
-rwxr-xr-xsrc/test/shell/integration/runfiles_test.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/test/shell/integration/runfiles_test.sh b/src/test/shell/integration/runfiles_test.sh
index 6821b30dcd..ee26ca130c 100755
--- a/src/test/shell/integration/runfiles_test.sh
+++ b/src/test/shell/integration/runfiles_test.sh
@@ -55,16 +55,16 @@ EOF
bazel build pkg:py >&$TEST_log 2>&1 || fail "build failed"
# we get a warning that hidden.py is inaccessible
- expect_log_once "/genfiles/pkg/e/f/g/hidden.py obscured by pkg/e/f "
+ expect_log_once "/genfiles/pkg/e/f/g/hidden.py obscured by .*/pkg/e/f "
}
function test_foo_runfiles() {
-cat > BUILD << EOF
+ cat > BUILD << EOF
py_library(name = "root",
srcs = ["__init__.py"],
visibility = ["//visibility:public"])
EOF
-cat > pkg/BUILD << EOF
+ cat > pkg/BUILD << EOF
sh_binary(name = "foo",
srcs = [ "x/y/z.sh" ],
data = [ ":py",
@@ -149,4 +149,3 @@ EOF
}
run_suite "runfiles"
-