Skip to content

Commit f78fa9a

Browse files
committed
Test running kcov as user in portage group.
1 parent 7bb8e79 commit f78fa9a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.gentoo/coverage.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22

3-
su --preserve-environment portage -c \
3+
useradd -m -G users,portage -s /bin/bash testrunner
4+
5+
su --preserve-environment testrunner -c \
46
"kcov --bash-dont-parse-binary-dir \
57
--include-path=. \
68
/var/tmp/coverage \

0 commit comments

Comments
 (0)