diff options
author | 2015-08-31 10:41:19 +0000 | |
---|---|---|
committer | 2015-08-31 19:13:31 +0000 | |
commit | 21ade15f4b8c4ab803d720f9a11f7a6754f606ce (patch) | |
tree | 7e185eaa17e3989de3ba3cc567bf54d6567f625b | |
parent | a807ad6339c1564fc2bace7a874b0b78ee99e240 (diff) |
Fix breakage of bazel_sandboxing_test:test_sandbox_block_filesystem.
This failed, because if the Bazel workspace is in your home directory, obviously
/home gets created in the sandbox.
--
MOS_MIGRATED_REVID=101921457
-rwxr-xr-x | src/test/shell/bazel/bazel_sandboxing_test.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/shell/bazel/bazel_sandboxing_test.sh b/src/test/shell/bazel/bazel_sandboxing_test.sh index 14f110a26e..4403b07f08 100755 --- a/src/test/shell/bazel/bazel_sandboxing_test.sh +++ b/src/test/shell/bazel/bazel_sandboxing_test.sh @@ -126,14 +126,14 @@ genrule( name = "breaks2", srcs = [ "a.txt" ], outs = [ "breaks2.txt" ], - # the point of this test is to attempt to read something from filesystem - # that resides outside sandbox by using an absolute path to that file + # The point of this test is to attempt to read something from the filesystem + # that resides outside the sandbox by using an absolute path to that file. # - # /home is an arbitrary choice of directory (we doesn't mount it in sandbox - # and it should exist on every linux) which could be changed in case it turns - # out it's necessary to put it in sandbox + # /var/log is an arbitrary choice of directory (we don't mount it in the + # sandbox and it should exist on every linux) which could be changed in + # case it turns out it's necessary to put it in sandbox. # - cmd = "ls /home > $@", + cmd = "ls /var/log > $@", ) genrule( |