[llvm] r342279 - test/Other/can-execute.txt: delete %t after the test

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 14 13:41:42 PDT 2018


Author: maskray
Date: Fri Sep 14 13:41:42 2018
New Revision: 342279

URL: http://llvm.org/viewvc/llvm-project?rev=342279&view=rev
Log:
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, ...)

Modified:
    llvm/trunk/test/Other/can-execute.txt

Modified: llvm/trunk/test/Other/can-execute.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/can-execute.txt?rev=342279&r1=342278&r2=342279&view=diff
==============================================================================
--- llvm/trunk/test/Other/can-execute.txt (original)
+++ llvm/trunk/test/Other/can-execute.txt Fri Sep 14 13:41:42 2018
@@ -20,3 +20,4 @@ RUN: cp -f %S/Inputs/TestProg/TestProg %
 RUN: chmod 111 %t/TestProg
 RUN: export PATH=%S/Inputs:%t:%S/Inputs/TestProg:$PATH
 RUN: not TestProg
+RUN: rm -rf %t




More information about the llvm-commits mailing list