test/Driver/output-file-cleanup.c: delete non-readable temporary file

%t-dir/2.c made tools (rsync, ripgrep, ...) sad (EACCES warning).

llvm-svn: 342290
This commit is contained in:
Fangrui Song 2018-09-14 21:36:35 +00:00
parent 46945b9e9d
commit 9851eafa0e
1 changed files with 1 additions and 0 deletions

View 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