Test searches that shouldn't produce results now need "[1]" as expected output to catch the non-zero exit code.
10 lines
205 B
Perl
10 lines
205 B
Perl
Setup:
|
|
|
|
$ . $TESTDIR/setup.sh
|
|
|
|
Complain about nonexistent path:
|
|
|
|
$ ag foo doesnt_exist
|
|
ERR: Error stat()ing: doesnt_exist
|
|
ERR: Error opening directory doesnt_exist: No such file or directory
|
|
[1]
|