Fix quoting to allow shell expansion to occur for shell variables

introduced by the test harness' expansion of %t.

llvm-svn: 154443
This commit is contained in:
Kaelyn Uhrain 2012-04-10 22:27:27 +00:00
parent 31176b1485
commit 606b5291e5
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
// RUN: rm -rf %t
// RUN: mkdir %t
// RUN: echo '[{"directory":".","command":"clang++ -c %t/test.cpp","file":"%t/test.cpp"}]' > %t/compile_commands.json
// RUN: echo "[{\"directory\":\".\",\"command\":\"clang++ -c %t/test.cpp\",\"file\":\"%t/test.cpp\"}]" > %t/compile_commands.json
// RUN: cp "%s" "%t/test.cpp"
// RUN: PWD="%t" clang-check "%t" "test.cpp" 2>&1|FileCheck %s
// FIXME: Make the above easier.