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, ...)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342279 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Fangrui Song
2018-09-14 20:41:42 +00:00
parent 03a74f0299
commit 3d6400d5f1
+1
View File
@@ -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