Skip to content

Commit a9594cb

Browse files
committed
test: Fixup the user home directory also when running tests (in Docker)
Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
1 parent 2f7d381 commit a9594cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/test/src/main/kotlin/ProjectConfig.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ import io.kotest.core.config.AbstractProjectConfig
2323
import io.kotest.core.spec.SpecExecutionOrder
2424
import io.kotest.extensions.junitxml.JunitXmlReporter
2525

26+
import org.ossreviewtoolkit.utils.common.Os
2627
import org.ossreviewtoolkit.utils.ort.OrtProxySelector
2728

2829
class ProjectConfig : AbstractProjectConfig() {
2930
override val specExecutionOrder = SpecExecutionOrder.Annotated
3031

3132
init {
33+
Os.fixupUserHomeProperty()
3234
OrtProxySelector.install()
3335
}
3436

0 commit comments

Comments
 (0)