llvm-project/llvm/test/tools/llvm-objdump/invalid-input.test

6 lines
329 B
Plaintext
Raw Normal View History

RUN: not llvm-objdump -t %p/missing-file 2>&1 | FileCheck %s -check-prefix=NO_SUCH_FILE
NO_SUCH_FILE: '{{.*}}missing-file': No such file or directory
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