From c472bb6ff3a843de5a1d05f1d6a4df1792fba215 Mon Sep 17 00:00:00 2001 From: Joseph Weston Date: Tue, 24 Jul 2018 19:31:43 +0200 Subject: [PATCH] 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. --- tests/journal/include.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/journal/include.test b/tests/journal/include.test index bb4da24de..f80cd5b0a 100644 --- a/tests/journal/include.test +++ b/tests/journal/include.test @@ -37,7 +37,7 @@ include b.timedot >>>=0 # 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 >>>