lib: remove correct files at test end, and do not remove recursively

We are not removing directories, so no need for the '-r' flag to rm.
This commit is contained in:
Joseph Weston 2018-07-24 19:31:43 +02:00 committed by Simon Michael
parent 5077443a84
commit c472bb6ff3

View File

@ -37,7 +37,7 @@ include b.timedot
>>>=0 >>>=0
# 3. include glob patterns # 3. include glob patterns
printf '2018/01/01\n (A) 1\n' >xy.journal; printf '2018/02/01\n (B) 1' >yy.journal; hledger -f - print; rm -rf x.journal y.journal printf '2018/01/01\n (A) 1\n' >xy.journal; printf '2018/02/01\n (B) 1' >yy.journal; hledger -f - print; rm -f xy.journal yy.journal
<<< <<<
include *y.journal include *y.journal
>>> >>>