refactored test to use CUE validations rather than container stdout

Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
Richard Jones
2021-12-09 11:30:15 -07:00
parent 69ee3750b8
commit 026c7641b3
2 changed files with 6 additions and 3 deletions

View File

@@ -6,7 +6,11 @@ import (
)
engine.#Plan & {
actions: sayHello: os.#Container & {
command: "echo Hello Europa!"
actions: {
sayHello: os.#Container & {
command: "echo Hello Europa! > /out.txt"
}
verify: "Hello Europa!\n" & (os.#File & {from: sayHello, path: "/out.txt"}).contents
}
}