dbus test don't rely on TMPDIR env for check
c.Check(strings.HasPrefix(addr, "unix:path=/tmp/test-bus-"), Equals, true)
While dbustest tmpdir definition is base on os definition.
tempDir, err := ioutil.TempDir(os.TempDir(), "test-bus-*")
c.Check(strings.HasPrefix(addr, "unix:path=/tmp/test-bus-"), Equals, true)
While dbustest tmpdir definition is base on os definition.
tempDir, err := ioutil.TempDir(os.TempDir(), "test-bus-*")
Copyright © Eclipse Foundation, Inc. All Rights Reserved. Privacy Policy | Terms of Use | Copyright Agent