Try to get at_file_missing.c passing after LLVM r267556.
authorNico Weber <nicolasweber@gmx.de>
Tue, 26 Apr 2016 20:40:23 +0000 (20:40 +0000)
committerNico Weber <nicolasweber@gmx.de>
Tue, 26 Apr 2016 20:40:23 +0000 (20:40 +0000)
r267556 made backslashes escape the next character
unconditionally in rsp files.  This test echos a path into
a rsp file, and paths contain backslashes on Windows. Since
it's not important for this test to get the filename from
the rsp file, just pass it regularly.

llvm-svn: 267601

clang/test/Driver/at_file_missing.c

index 0189a8b..23645a5 100644 (file)
@@ -1,7 +1,7 @@
 // Make sure that arguments that begin with @ are left as is in the argument
 // stream, and also that @file arguments continue to be processed.
 
-// RUN: echo "%s -D FOO" > %t.args
-// RUN: %clang -rpath @executable_path/../lib @%t.args -### 2>&1 | FileCheck %s
+// RUN: echo "-D FOO" > %t.args
+// RUN: %clang -rpath @executable_path/../lib @%t.args %s -### 2>&1 | FileCheck %s
 // CHECK: "-D" "FOO"
 // CHECK: "-rpath" "@executable_path/../lib"