mirror of
https://github.com/safing/portmaster
synced 2025-09-04 19:49:15 +00:00
Skip test that fails in CI
This commit is contained in:
parent
3840ab470c
commit
2b6fbd2bfc
1 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,10 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestDbus(t *testing.T) {
|
func TestDbus(t *testing.T) {
|
||||||
|
if testing.Short() {
|
||||||
|
t.Skip("skipping test in short mode because it fails in the CI")
|
||||||
|
}
|
||||||
|
|
||||||
if _, err := os.Stat("/var/run/dbus/system_bus_socket"); os.IsNotExist(err) {
|
if _, err := os.Stat("/var/run/dbus/system_bus_socket"); os.IsNotExist(err) {
|
||||||
t.Logf("skipping dbus tests, as dbus does not seem to be installed: %s", err)
|
t.Logf("skipping dbus tests, as dbus does not seem to be installed: %s", err)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Reference in a new issue