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
aca62a42
Commit
aca62a42
authored
Nov 30, 2014
by
Christian Couder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add sharness test for ipfs add --quiet
License: MIT Signed-off-by:
Christian Couder
<
chriscool@tuxfamily.org
>
parent
5bfdc2e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
test/t0040-add-and-cat.sh
test/t0040-add-and-cat.sh
+11
-0
No files found.
test/t0040-add-and-cat.sh
View file @
aca62a42
...
...
@@ -54,6 +54,17 @@ test_expect_success FUSE "cat ipfs/stuff looks good" '
test_cmp expected actual
'
test_expect_success
"'ipfs add -q' succeeds"
'
echo "Hello Venus!" >mountdir/venus.txt &&
ipfs add -q mountdir/venus.txt >actual
'
test_expect_success
"'ipfs add -q' output looks good"
'
HASH="QmU5kp3BH3B8tnWUU2Pikdb2maksBNkb92FHRr56hyghh4" &&
echo "$HASH" >expected &&
test_cmp expected actual
'
test_expect_success
"go-random is installed"
'
type random
'
...
...
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