aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-09-14 20:41:42 +0000
committerFangrui Song <maskray@google.com>2018-09-14 20:41:42 +0000
commitd39d374e15dfc58b3e3d904f88243ad1dec3f2f0 (patch)
tree7ef025277e0aeb394325e48567cdc7baacea1185
parent2426eb46dd69463744916bfd99f3e4f74c6a6bb8 (diff)
downloadllvm-d39d374e15dfc58b3e3d904f88243ad1dec3f2f0.zip
llvm-d39d374e15dfc58b3e3d904f88243ad1dec3f2f0.tar.gz
llvm-d39d374e15dfc58b3e3d904f88243ad1dec3f2f0.tar.bz2
test/Other/can-execute.txt: delete %t after the test
This test constructs a non-readable file of mode 0111, which lingers in the test output directory and will cause EACCES to various tools (rg, rsync, ...) llvm-svn: 342279
-rw-r--r--llvm/test/Other/can-execute.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/Other/can-execute.txt b/llvm/test/Other/can-execute.txt
index ae97d7b..46791cb 100644
--- a/llvm/test/Other/can-execute.txt
+++ b/llvm/test/Other/can-execute.txt
@@ -20,3 +20,4 @@ RUN: cp -f %S/Inputs/TestProg/TestProg %t/TestProg
RUN: chmod 111 %t/TestProg
RUN: export PATH=%S/Inputs:%t:%S/Inputs/TestProg:$PATH
RUN: not TestProg
+RUN: rm -rf %t