]> granicus.if.org Git - clang/commitdiff
test/Driver/output-file-cleanup.c: delete non-readable temporary file
authorFangrui Song <maskray@google.com>
Fri, 14 Sep 2018 21:36:35 +0000 (21:36 +0000)
committerFangrui Song <maskray@google.com>
Fri, 14 Sep 2018 21:36:35 +0000 (21:36 +0000)
%t-dir/2.c made tools (rsync, ripgrep, ...) sad (EACCES warning).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342290 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/output-file-cleanup.c

index e3f2bdbb2fb8e0e88e8b05d1d3257d7e0501b555..a5ca3e546f532f1d214548ae692a93a562159741 100644 (file)
@@ -41,3 +41,4 @@ invalid C code
 // RUN: not %clang -S %t-dir/1.c %t-dir/2.c
 // RUN: test -f %t-dir/1.s
 // RUN: test ! -f %t-dir/2.s
+// RUN: rm -f %t-dir/2.c