diff options
Diffstat (limited to 'test/tools/llvm-objdump/invalid-input.test')
-rw-r--r-- | test/tools/llvm-objdump/invalid-input.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/tools/llvm-objdump/invalid-input.test b/test/tools/llvm-objdump/invalid-input.test new file mode 100644 index 0000000..20a901d --- /dev/null +++ b/test/tools/llvm-objdump/invalid-input.test @@ -0,0 +1,6 @@ +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 |