From edec2ee3bcde5ade31a76e329dcc4ac0fa7c7d11 Mon Sep 17 00:00:00 2001 From: Kaelyn Uhrain Date: Tue, 10 Apr 2012 22:27:27 +0000 Subject: [PATCH] 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 --- test/Tooling/clang-check-pwd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.40.0