mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-10-05 08:47:03 +08:00
31 lines
572 B
Go
31 lines
572 B
Go
// SPDX-FileCopyrightText: 2018 CoreOS, Inc.
|
|
// SPDX-FileCopyrightText: 2023-2025 Steffen Vogel <post@steffenvogel.de>
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package daemon_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
osx "cunicu.li/cunicu/pkg/os"
|
|
"cunicu.li/cunicu/test"
|
|
|
|
. "github.com/onsi/ginkgo/v2"
|
|
. "github.com/onsi/gomega"
|
|
)
|
|
|
|
func TestSuite(t *testing.T) {
|
|
test.SetupLogging()
|
|
RegisterFailHandler(Fail)
|
|
RunSpecs(t, "Daemon Suite")
|
|
}
|
|
|
|
var _ = BeforeSuite(func() {
|
|
if !osx.HasAdminPrivileges() {
|
|
Skip("Insufficient privileges")
|
|
}
|
|
})
|
|
|
|
var _ = Describe("Daemon", func() {
|
|
})
|