Avoid white spaces in file names. NFC
authorEric Liu <ioeric@google.com>
Mon, 10 Jul 2017 16:05:48 +0000 (16:05 +0000)
committerEric Liu <ioeric@google.com>
Mon, 10 Jul 2017 16:05:48 +0000 (16:05 +0000)
Summary: White spaces in file names are causing Phabricator/SVN to crash.

Reviewers: bkramer

Subscribers: bogner, cfe-commits

Differential Revision: https://reviews.llvm.org/D35203

llvm-svn: 307551

clang/test/Driver/crash-report-spaces.c [moved from clang/test/Driver/crash report spaces.c with 84% similarity]

similarity index 84%
rename from clang/test/Driver/crash report spaces.c
rename to clang/test/Driver/crash-report-spaces.c
index 9bc4626..3e95a0d 100644 (file)
@@ -1,6 +1,7 @@
 // RUN: rm -rf "%t"
 // RUN: mkdir "%t"
-// RUN: not env TMPDIR="%t" TEMP="%t" TMP="%t" RC_DEBUG_OPTIONS=1 %clang -fsyntax-only "%s" 2>&1 | FileCheck "%s"
+// RUN: cp "%s" "%t/crash report spaces.c"
+// RUN: not env TMPDIR="%t" TEMP="%t" TMP="%t" RC_DEBUG_OPTIONS=1 %clang -fsyntax-only "%t/crash report spaces.c" 2>&1 | FileCheck "%s"
 // RUN: cat "%t/crash report spaces"-*.c | FileCheck --check-prefix=CHECKSRC "%s"
 // RUN: cat "%t/crash report spaces"-*.sh | FileCheck --check-prefix=CHECKSH "%s"
 // REQUIRES: crash-recovery