autfilt: diagnose non-existant files
* src/bin/autfilt.cc: Catch exception. * src/tgbatest/hoaparse.test: Test it.
This commit is contained in:
parent
e7e21ae58f
commit
a9fa7d33c5
2 changed files with 13 additions and 2 deletions
|
|
@ -717,3 +717,7 @@ input:4.7-242: unclosed string
|
|||
input:4.7-242: syntax error, unexpected end of file, expecting string
|
||||
autfilt: failed to read automaton from input
|
||||
EOF
|
||||
|
||||
expecterr non-existant<<EOF
|
||||
autfilt: Cannot open file non-existant
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue