kairos-agent/pkg/uki/suite_test.go
Dimitris Karakasilis 046f6879ff
Skip dirs in copyArtifactSetRole and replace only basename
otherwise we get the error:

```
panic: open /efi/EFI/kairos/passive.efi.extra.d: is a directory
```

and we may replace parts of the path that we shouldn't.

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-06-18 14:09:14 +03:00

14 lines
198 B
Go

package uki_test
import (
"testing"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
func TestActionSuite(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Uki test suite")
}