From ff3fff107bae6d134ef7155d4efa940a11a6c92d Mon Sep 17 00:00:00 2001 From: Jesse Bouwman Date: Sat, 14 Aug 2021 09:34:47 -0700 Subject: [PATCH] Clean up after cp -p test --- test/sharness/t0250-files-api.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/sharness/t0250-files-api.sh b/test/sharness/t0250-files-api.sh index 54abb267b..75f049464 100755 --- a/test/sharness/t0250-files-api.sh +++ b/test/sharness/t0250-files-api.sh @@ -300,6 +300,10 @@ test_files_api() { ipfs files cp -p /ipfs/$FILE3 /cats/some/other/dir/file3 ' + test_expect_success "cleanup deep cp -p test $EXTRA" ' + ipfs files rm -r /cats/some + ' + test_expect_success "can read file $EXTRA" ' ipfs files read /cats/this/is/a/dir/file3 > output '