From e38e021ab324ea676a285ac4667f1fba1469a6bf Mon Sep 17 00:00:00 2001 From: Anish Athalye Date: Tue, 31 Dec 2019 19:14:23 -0500 Subject: Add option to clean recursively --- test/tests/clean-recursive.bash | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 test/tests/clean-recursive.bash (limited to 'test') diff --git a/test/tests/clean-recursive.bash b/test/tests/clean-recursive.bash new file mode 100644 index 0000000..8d8c09d --- /dev/null +++ b/test/tests/clean-recursive.bash @@ -0,0 +1,34 @@ +test_description='clean removes recursively' +. '../test-lib.bash' + +test_expect_success 'setup' ' +mkdir -p ~/a/b +ln -s /nowhere ~/c +ln -s /nowhere ~/a/d +ln -s /nowhere ~/a/b/e +' + +test_expect_success 'run' ' +run_dotbot <