diff --git a/llvm/test/Object/obj2yaml.test b/llvm/test/Object/obj2yaml.test index 64ddaf4fb74e..39c51c2737e1 100644 --- a/llvm/test/Object/obj2yaml.test +++ b/llvm/test/Object/obj2yaml.test @@ -415,5 +415,5 @@ ELF-X86-64-UNWIND-NEXT: Flags: [ SHF_ALLOC ] ELF-X86-64-UNWIND-NEXT: AddressAlign: 0x0000000000000001 ELF-X86-64-UNWIND-NEXT: Content: '' -RUN: not llvm-cxxdump %t.blah 2>&1 | FileCheck --check-prefix=ENOENT %s -ENOENT: {{.*}}.blah: {{[Nn]}}o such file or directory +RUN: not obj2yaml %t.blah 2>&1 | FileCheck --check-prefix=ENOENT %s +ENOENT: Error: '{{[Nn]}}o such file or directory'