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
2c71cf0f
Unverified
Commit
2c71cf0f
authored
Jul 12, 2017
by
Jakub Sztandera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: add git plugin test stub
License: MIT Signed-off-by:
Jakub Sztandera
<
kubuxu@protonmail.ch
>
parent
d2cc7086
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
test/sharness/t0280-plugin-git.sh
test/sharness/t0280-plugin-git.sh
+27
-0
No files found.
test/sharness/t0280-plugin-git.sh
0 → 100755
View file @
2c71cf0f
#!/bin/sh
#
# Copyright (c) 2016 Jakub Sztandera
# MIT Licensed; see the LICENSE file in this repository.
#
test_description
=
"Test git plugin"
.
lib/test-lib.sh
# if in travis CI, dont test mount (no fuse)
if
!
test_have_prereq PLUGIN
;
then
skip_all
=
'skipping git plugin tests, plugins not available'
test_done
fi
test_init_ipfs
test_expect_success
"copy plugin"
'
mkdir -p "$IPFS_PATH/plugins" &&
cp ../plugins/git.so "$IPFS_PATH/plugins/"
'
# test here
test_done
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