llvm-for-llvmta/test/tools/llvm-objdump/invalid-input.test

7 lines
373 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
RUN: not llvm-objdump -t %p/missing-file 2>&1 | FileCheck %s --check-prefix=NO_SUCH_FILE
# Don't check the OS-dependent message "No such file or directory".
NO_SUCH_FILE: '{{.*}}missing-file':
RUN: not llvm-objdump -t %s 2>&1 | FileCheck %s --check-prefix=UNKNOWN_FILE_TYPE
UNKNOWN_FILE_TYPE: '{{.*}}invalid-input.test': The file was not recognized as a valid object file