Skip to content

Commit 42512ec

Browse files
committed
coverage.sh no longer needs to create a user or use su.
1 parent d95e3ae commit 42512ec

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.gentoo/coverage.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#!/usr/bin/env bash
22

3-
useradd -m -G users,portage -s /bin/bash testrunner
4-
5-
su --preserve-environment testrunner -c \
6-
"kcov --bash-dont-parse-binary-dir \
3+
kcov --bash-dont-parse-binary-dir \
74
--include-path=. \
85
/var/tmp/coverage \
9-
bats -t tests"
6+
bats -t tests

0 commit comments

Comments
 (0)