diff options
author | Kaelyn Uhrain <rikka@google.com> | 2012-04-10 22:27:27 +0000 |
---|---|---|
committer | Kaelyn Uhrain <rikka@google.com> | 2012-04-10 22:27:27 +0000 |
commit | edec2ee3bcde5ade31a76e329dcc4ac0fa7c7d11 (patch) | |
tree | 4f2cbb7c3ff148c0acb745e5bf095890da065e67 | |
parent | 88ec6100812d8f551a824d7884e21aaa68138330 (diff) |
Fix quoting to allow shell expansion to occur for shell variables
introduced by the test harness' expansion of %t.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154443 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Tooling/clang-check-pwd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Tooling/clang-check-pwd.cpp b/test/Tooling/clang-check-pwd.cpp index 75cee14c2e..cb94344203 100644 --- a/test/Tooling/clang-check-pwd.cpp +++ b/test/Tooling/clang-check-pwd.cpp @@ -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. |