From 0c1aa2208435e63e5fbe8aa00374ef41112e2723 Mon Sep 17 00:00:00 2001 From: Dunbobbin Date: Fri, 1 Aug 2025 15:45:35 +0100 Subject: [PATCH] [Test] Adjust quoting in archive-thin.test for spaces in paths As suggested in review (see: #149425), I believed that using single quotes was a nicer quoting scheme that correctly handled paths with spaces. Alas, build bot failures have demonstrated that this is not the case. Revert to the original quoting scheme (see: #146749). --- lld/test/ELF/dtlto/archive-thin.test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lld/test/ELF/dtlto/archive-thin.test b/lld/test/ELF/dtlto/archive-thin.test index bcd5f138459b0..df3c2aadb06eb 100644 --- a/lld/test/ELF/dtlto/archive-thin.test +++ b/lld/test/ELF/dtlto/archive-thin.test @@ -29,9 +29,9 @@ RUN: mkdir %t/out && cd %t/out ## received JSON, pretty-prints the JSON and the supplied arguments, and then ## exits with an error. This allows FileCheck directives to verify the ## distributor inputs. -RUN: echo '%t/t1.a %t/lib/t2.a ../t3.a \ -RUN: --thinlto-distributor="%python" \ -RUN: --thinlto-distributor-arg="%llvm_src_root/utils/dtlto/validate.py"' > rsp +RUN: echo "%t/t1.a %t/lib/t2.a ../t3.a \ +RUN: --thinlto-distributor=\"%python\" \ +RUN: --thinlto-distributor-arg=\"%llvm_src_root/utils/dtlto/validate.py\"" > rsp ## Link thin archives using -u/--undefined. RUN: not ld.lld @rsp -u t1 -u t2 -u t3 2>&1 | FileCheck %s