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
d06e7e34
Commit
d06e7e34
authored
Jan 04, 2015
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sharness: set verbosity from env
parent
6ccbba2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
test/lib/test-lib.sh
test/lib/test-lib.sh
+5
-0
No files found.
test/lib/test-lib.sh
View file @
d06e7e34
...
...
@@ -11,6 +11,11 @@
# add current directory to path, for ipfs tool.
PATH
=
$(
pwd
)
/bin:
${
PATH
}
# set sharness verbosity. we set the env var directly as
# it's too late to pass in --verbose, and --verbose is harder
# to pass through in some cases.
test
"
$TEST_VERBOSE
"
=
1
&&
verbose
=
t
# assert the `ipfs` we're using is the right one.
if
test
`
which ipfs
`
!=
$(
pwd
)
/bin/ipfs
;
then
echo
>
&2
"Cannot find the tests' local ipfs tool."
...
...
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