Skip to content

Commit d678950

Browse files
committed
Test err msg
1 parent 3681b34 commit d678950

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

llvm/test/tools/llvm-objcopy/MachO/update-section-object.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
# RUN: llvm-objcopy %t.o --update-section __DATA,__storage=%p/Inputs/macho_sections.s %t.new.o
88
# RUN: llvm-otool -l %t.new.o | FileCheck %s --check-prefix=UPDATED
99

10-
1110
# ORIG: cmd LC_SEGMENT_64
1211
# ORIG-NEXT: cmdsize 312
1312
# ORIG-NEXT: segname

llvm/test/tools/llvm-objcopy/MachO/update-section.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# RUN: not llvm-objcopy --update-section __TEXT,__text=%t.noexist %t /dev/null
1717

1818
# RUN: not llvm-objcopy --update-section __NOEXIST,__text=%t.diff %t /dev/null 2>&1 | FileCheck %s --check-prefix=NO-SEGMENT
19-
# NO-SEGMENT: error: {{.*}}could not find segment with name '__NOEXIST'
19+
# NO-SEGMENT: error: {{.*}}could not find section with name '__text' in '__NOEXIST' segment
2020

2121
# RUN: not llvm-objcopy --update-section __TEXT,__noexist=%t.diff %t /dev/null 2>&1 | FileCheck %s --check-prefix=NO-SECTION
2222
# NO-SECTION: error: {{.*}}could not find section with name '__noexist'

0 commit comments

Comments
 (0)