hledger/tests/no-such-file.test
2012-04-13 21:48:29 +00:00

13 lines
371 B
Plaintext

# commands should generally autocreate an empty journal when missing, see also add*.test
# $$ used for safe concurrent test running, may be a bash-ism
bin/hledger register -f no-such-file-$$; rm -f no-such-file-$$
>>>
>>>2 /journal file.*not found/
>>>=0
bin/hledger balance --no-total -f no-such-file-$$; rm -f no-such-file-$$
>>>
>>>2 /journal file.*not found/
>>>=0