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
960de836
Commit
960de836
authored
9 years ago
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1112 from ipfs/encapsulate_ipfs_mount
sharness: encapsulate ipfs mount
parents
d881aab4
cc6eabf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
test/sharness/t0030-mount.sh
test/sharness/t0030-mount.sh
+3
-2
No files found.
test/sharness/t0030-mount.sh
View file @
960de836
...
...
@@ -21,10 +21,11 @@ test_launch_ipfs_daemon
# test mount failure before mounting properly.
test_expect_success
"'ipfs mount' fails when there is no mount dir"
'
test_must_fail ipfs mount -f=not_ipfs -n=not_ipns >output 2>output.err
tmp_ipfs_mount() { ipfs mount -f=not_ipfs -n=not_ipns >output 2>output.err; } &&
test_must_fail tmp_ipfs_mount
'
test_expect_
failure
"'ipfs mount' output looks good"
'
test_expect_
success
"'ipfs mount' output looks good"
'
test_must_be_empty output &&
test_should_contain "not_ipns\|not_ipfs" output.err
'
...
...
This diff is collapsed.
Click to expand it.
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