Quadlet - Allow using symlink on the base search paths

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
This commit is contained in:
Ygal Blum
2023-11-14 14:55:22 +02:00
parent 9c954739e9
commit dc709e4d76
4 changed files with 42 additions and 3 deletions

View File

@@ -554,7 +554,14 @@ var _ = Describe("quadlet system generator", func() {
current := session.ErrorToStringArray()
expected := "No files parsed from [/something]"
Expect(current[0]).To(ContainSubstring(expected))
found := false
for _, line := range current {
if strings.Contains(line, expected) {
found = true
break
}
}
Expect(found).To(BeTrue())
})
It("Should fail on bad quadlet", func() {