Commit cbc239ce authored by Lucas Molas's avatar Lucas Molas

sharness: add `files ls` test (without `-l`)

License: MIT
Signed-off-by: default avatarLucas Molas <schomatis@gmail.com>
parent dfe64980
......@@ -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
'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment