hledger/tests/cli/no-such-file.test
2014-05-06 21:02:58 -07:00

13 lines
369 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
hledgerdev register -f no-such-file-$$; rm -f no-such-file-$$
>>>
>>>2 /journal file.*not found/
>>>=0
hledgerdev balance --no-total -f no-such-file-$$; rm -f no-such-file-$$
>>>
>>>2 /journal file.*not found/
>>>=0