Skip to content

Sysota migration: go test dbus failed on tmpdir

Sysota test are not base on TMPDIR env var

https://gitlab.eclipse.org/eclipse/oniro-core/sysota/-/blob/main/pkg/dbusutil/dbustest/dbustest_linux_test.go#L29

	c.Check(strings.HasPrefix(addr, "unix:path=/tmp/test-bus-"), Equals, true)

image

Gitlab runner at EF propose TMPDIR by default with value: 'TMPDIR':'$CI_PROJECT_DIR.tmp',