Clean up after cp -p test
Jesse Bouwman committed
Aug 14, 2021 at 09:34 UTC
ff3fff107bae6d134ef7155d4efa940a11a6c92d
1 file changed
+4
test/sharness/t0250-files-api.sh
+4
@@ -300,6 +300,10 @@ test_files_api() {
300
ipfs files cp -p /ipfs/$FILE3 /cats/some/other/dir/file3
301
'
302
303
+ test_expect_success "cleanup deep cp -p test $EXTRA" '
304
+ ipfs files rm -r /cats/some
305
+ '
306
+
307
test_expect_success "can read file $EXTRA" '
308
ipfs files read /cats/this/is/a/dir/file3 > output
309
'