Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Jan 2, 2024
1 parent 490c425 commit 352e75b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/test/shell/bazel/bazel_sandboxing_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -359,12 +359,12 @@ genrule(
outs = ["gen.txt"],
cmd = """
# Verify that /tmp is still hermetic and that the tmpfs under /tmp exists, but is empty.
[ ! -e "${tmp_file}" ]
[ -d /tmp/tmpfs ]
[ ! -e /tmp/tmpfs/data.txt ]
[[ ! -e "${tmp_file}" ]]
[[ -d /tmp/tmpfs ]]
[[ ! -e /tmp/tmpfs/data.txt ]]
# Verify that the tmpfs on /etc exists and is empty.
[ -d /etc ]
[ -z "\$\$(ls -A /etc)" ]
[[ -d /etc ]]
[[ -z "\$\$(ls -A /etc)" ]]
touch \$@
""",
)
Expand Down

0 comments on commit 352e75b

Please sign in to comment.