git://git.halfball.org
/
cni.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20fa3d3
)
test: fix bash variable escaping in sudo command
author
Stefan Junker
<mail@stefanjunker.de>
Fri, 20 May 2016 09:33:23 +0000
(11:33 +0200)
committer
Stefan Junker
<mail@stefanjunker.de>
Fri, 20 May 2016 23:48:26 +0000
(
01:48
+0200)
test
patch
|
blob
|
history
diff --git
a/test
b/test
index
634633f
..
6db93b7
100755
(executable)
--- a/
test
+++ b/
test
@@
-35,7
+35,7
@@
TEST=${split[@]/#/${REPO_PATH}/}
echo -n "Running tests "
function testrun {
- sudo -E bash -c "umask 0; PATH=
\$GOBIN:\$GOROOT/bin:\
$PATH go test -covermode set $@"
+ sudo -E bash -c "umask 0; PATH=
$GOROOT/bin:$GOBIN:
$PATH go test -covermode set $@"
}
if [ ! -z "${COVERALLS}" ]; then
echo "with coverage profile generation..."