bazel,tests: allow empty TMPDIR in test
bazel,tests: allow empty TMPDIR in test

Allow the `$TMPDIR` to be empty in
//src/test/shell/bazel:bazel_rules_test.

This used to be the case before commit
https://github.com/bazelbuild/bazel/commit/f814454ff5477418ca44696efb5c71339368efa4

Bazel only guarantees to set TMPDIR for locally
executed tests, but not (to my knowledge) for
remote execution.

Fixes https://github.com/bazelbuild/bazel/issues/5607

Change-Id: I2e97c13d137f94c7f668b7a6c7fc5020a19e4a0b

Closes #5610.

Change-Id: I2e97c13d137f94c7f668b7a6c7fc5020a19e4a0b
PiperOrigin-RevId: 205039105

ButterflyNetwork/bazel,katre/bazel,cushon/bazel,safarmer/bazel,meteorcloudy/bazel,katre/bazel,dslomov/bazel,dslomov/bazel-windows,twitter-forks/bazel,dslomov/bazel,davidzchen/bazel,dslomov/bazel,safarmer/bazel,aehlig/bazel,dslomov/bazel-windows,davidzchen/bazel,dslomov/bazel-windows,dropbox/bazel,bazelbuild/bazel,ButterflyNetwork/bazel,werkt/bazel,ButterflyNetwork/bazel,dslomov/bazel,ButterflyNetwork/bazel,twitter-forks/bazel,perezd/bazel,werkt/bazel,perezd/bazel,perezd/bazel,twitter-forks/bazel,akira-baruah/bazel,bazelbuild/bazel,dslomov/bazel-windows,aehlig/bazel,akira-baruah/bazel,meteorcloudy/bazel,ulfjack/bazel,dropbox/bazel,safarmer/bazel,perezd/bazel,katre/bazel,dslomov/bazel-windows,aehlig/bazel,akira-baruah/bazel,bazelbuild/bazel,cushon/bazel,meteorcloudy/bazel,ulfjack/bazel,ButterflyNetwork/bazel,akira-baruah/bazel,werkt/bazel,katre/bazel,perezd/bazel,katre/bazel,meteorcloudy/bazel,twitter-forks/bazel,davidzchen/bazel,ButterflyNetwork/bazel,dropbox/bazel,werkt/bazel,dslomov/bazel,meteorcloudy/bazel,dropbox/bazel,aehlig/bazel,dslomov/bazel,werkt/bazel,twitter-forks/bazel,dslomov/bazel-windows,akira-baruah/bazel,bazelbuild/bazel,cushon/bazel,ulfjack/bazel,safarmer/bazel,dslomov/bazel,twitter-forks/bazel,meteorcloudy/bazel,dropbox/bazel,aehlig/bazel,werkt/bazel,ulfjack/bazel,bazelbuild/bazel,perezd/bazel,katre/bazel,aehlig/bazel,davidzchen/bazel,akira-baruah/bazel,davidzchen/bazel,cushon/bazel,perezd/bazel,cushon/bazel,ulfjack/bazel,safarmer/bazel,meteorcloudy/bazel,safarmer/bazel,ulfjack/bazel,twitter-forks/bazel,aehlig/bazel,cushon/bazel,davidzchen/bazel,davidzchen/bazel,dropbox/bazel,bazelbuild/bazel,ulfjack/bazel