diff --git a/test/sharness/t0250-files-api.sh b/test/sharness/t0250-files-api.sh index ef2254a93..61f52c2bf 100755 --- a/test/sharness/t0250-files-api.sh +++ b/test/sharness/t0250-files-api.sh @@ -192,6 +192,12 @@ test_files_api() { test_cmp ls_l_expected ls_l_actual ' + test_expect_success "file shows up with the correct name" ' + echo "file1" > ls_l_expected && + ipfs files ls /cats/file1 > ls_l_actual && + test_cmp ls_l_expected ls_l_actual + ' + test_expect_success "can stat file $EXTRA" ' ipfs files stat /cats/file1 > file1stat_orig '