Skip to content

Commit d926a42

Browse files
committed
Added --preserve-environment to su invocation.
1 parent e2c1059 commit d926a42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.gentoo/coverage.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
useradd -m -G users -s /bin/bash testrunner
44

5-
su - testrunner -c "kcov --bash-dont-parse-binary-dir \
5+
su --preserve-environment testrunner -c \
6+
"kcov --bash-dont-parse-binary-dir \
67
--include-path=. \
78
/var/tmp/coverage \
89
bats -t tests"

0 commit comments

Comments
 (0)