https://github.com/DavidSpickett created 
https://github.com/llvm/llvm-project/pull/160827

Windows paths have different slashes, but I don't think we care about the exact 
paths there anyway so I've just checked for the final filename.

Fixes #160652

>From 6eef99e02117eaa9a6803580c4b34afa0d9dacfe Mon Sep 17 00:00:00 2001
From: David Spickett <[email protected]>
Date: Fri, 26 Sep 2025 09:14:03 +0100
Subject: [PATCH] [lldb][test] Fix elf-no-shdrs-pt-notes.yaml on Windows

Windows paths have different slashes, but I don't think we care
about the exact paths there anyway so I've just checked for the
final filename.

Fixes #160652
---
 lldb/test/Shell/ObjectFile/ELF/elf-no-shdrs-pt-notes.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lldb/test/Shell/ObjectFile/ELF/elf-no-shdrs-pt-notes.yaml 
b/lldb/test/Shell/ObjectFile/ELF/elf-no-shdrs-pt-notes.yaml
index 62562f6c5f7bf..1e9c5dfaeab1b 100644
--- a/lldb/test/Shell/ObjectFile/ELF/elf-no-shdrs-pt-notes.yaml
+++ b/lldb/test/Shell/ObjectFile/ELF/elf-no-shdrs-pt-notes.yaml
@@ -10,8 +10,8 @@
 # RUN:   -o "image list" \
 # RUN:   | FileCheck %s
 
-# CHECK: Current executable set to 
'{{.*/tools/lldb/test/Shell/ObjectFile/ELF/Output/elf-no-shdrs-pt-notes.yaml.tmp}}'
 (x86_64).
-# CHECK: [  0] 7F1F56D6-7DBB-17BA-C9A3-4417DB52F097-2548414F 
0x0000000000000000 
{{.*/tools/lldb/test/Shell/ObjectFile/ELF/Output/elf-no-shdrs-pt-notes.yaml.tmp}}
+# CHECK: Current executable set to '{{.*}}elf-no-shdrs-pt-notes.yaml.tmp' 
(x86_64).
+# CHECK: [  0] 7F1F56D6-7DBB-17BA-C9A3-4417DB52F097-2548414F 
0x0000000000000000 {{.*}}elf-no-shdrs-pt-notes.yaml.tmp
 
 --- !ELF
 FileHeader:

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to