Skip to content

Commit 17b976a

Browse files
committed
Explcitly check for argument name in the test.
1 parent 735214f commit 17b976a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
## An error must be reported if a required argument value is missing.
2-
# RUN: not llvm-objcopy --only-section 2>&1 | FileCheck --check-prefix=CHECK-NO-VALUE %s
3-
# RUN: not llvm-objcopy -O 2>&1 | FileCheck --check-prefix=CHECK-NO-VALUE %s
4-
# CHECK-NO-VALUE: error: argument to '{{.*}}' is missing
2+
# RUN: not llvm-objcopy --only-section 2>&1 | FileCheck --check-prefix=CHECK-NO-VALUE-ONLY-SECTION %s
3+
# CHECK-NO-VALUE-ONLY-SECTION: error: argument to '--only-section' is missing
4+
5+
# RUN: not llvm-objcopy -O 2>&1 | FileCheck --check-prefix=CHECK-NO-VALUE-O %s
6+
# CHECK-NO-VALUE-O: error: argument to '-O' is missing

0 commit comments

Comments
 (0)