mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-07 20:10:04 +00:00
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>
This commit is contained in:
13
pkg/uki/suite_test.go
Normal file
13
pkg/uki/suite_test.go
Normal file
@@ -0,0 +1,13 @@
|
||||
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")
|
||||
}
|
Reference in New Issue
Block a user