Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
cbc239ce
Commit
cbc239ce
authored
Jul 01, 2018
by
Lucas Molas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sharness: add `files ls` test (without `-l`)
License: MIT Signed-off-by:
Lucas Molas
<
schomatis@gmail.com
>
parent
dfe64980
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
test/sharness/t0250-files-api.sh
test/sharness/t0250-files-api.sh
+6
-0
No files found.
test/sharness/t0250-files-api.sh
View file @
cbc239ce
...
...
@@ -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
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment