From a4bcb9f98b00885823c8c9b2b5fc53bc52c1edc9 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 31 May 2017 14:19:18 +0300 Subject: Fix testscript runner not to remove special files with wildcard cleanups --- tests/test/script/runner/cleanup.test | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'tests') diff --git a/tests/test/script/runner/cleanup.test b/tests/test/script/runner/cleanup.test index fe72807..a26c1af 100644 --- a/tests/test/script/runner/cleanup.test +++ b/tests/test/script/runner/cleanup.test @@ -279,6 +279,25 @@ b += --no-column : $c <'$* -d a/b &a/ &a/b/' && $b +: special-order +: +: Test that special files are cleaned before others, and there is no attempt +: to remove them twice (normally and with wildcard cleanup). +: +$c <'foo'; +true &* +EOI + +: wd-wildcard +: +: Test that there is no attempt to remove working directory twice (normally and +: with wildcard cleanup). +: +$c <