From 52b8f3a80c6b2b1efcd91e2278bd9d63a0b1567b Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Mon, 10 Oct 2022 15:55:55 -0500 Subject: [PATCH] [LinkerWrapper] Fix failing linker wrapper save temps test Summary: This test started failing locally due to a misspelling of `-save-temps` for the linker wrapper and the `ls` command not having the glob arguments put in a string. This patch should fix it. --- clang/test/Driver/linker-wrapper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/Driver/linker-wrapper.c b/clang/test/Driver/linker-wrapper.c index e8c1275..51f3ea3 100644 --- a/clang/test/Driver/linker-wrapper.c +++ b/clang/test/Driver/linker-wrapper.c @@ -142,6 +142,6 @@ // RUN: llvm-ar rcs %t.a %t.o // RUN: rm -f %t.o // RUN: %clang -cc1 %s -triple x86_64-unknown-linux-gnu -emit-obj -o %t-obj.o -// RUN: clang-linker-wrapper --host-triple=x86_64-unknown-linux-gnu --dry-run -save-temps \ +// RUN: clang-linker-wrapper --host-triple=x86_64-unknown-linux-gnu --dry-run --save-temps \ // RUN: --linker-path=/usr/bin/ld -- %t.a %t-obj.o -o a.out -// RUN: not ls *-device-* +// RUN: not ls "*-device-*" -- 2.7.4