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

llvm-svn: 342290

clang/test/Driver/output-file-cleanup.c

index e3f2bdb..a5ca3e5 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