Because the optarg variable was shadowed we didn't notice we weren't extracting the value from the option. This patch fixes that and renames the variable to prevent this from happening in the future. I also added two tests to check the error output for --core and --file when the given value doesn't exist. llvm-svn: 347821
3 lines
119 B
Plaintext
3 lines
119 B
Plaintext
# RUN: not %lldb -f /bogus/path 2>&1 | FileCheck %s
|
|
# CHECK: error: file specified in --file (-f) option doesn't exist
|