tests: move tests top-level
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
20
tests/exec/undefined/non_concrete_not_referenced/main.cue
Normal file
20
tests/exec/undefined/non_concrete_not_referenced/main.cue
Normal file
@@ -0,0 +1,20 @@
|
||||
package testing
|
||||
|
||||
hello: "world"
|
||||
bar: string
|
||||
|
||||
#dagger: compute: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
},
|
||||
{
|
||||
do: "exec"
|
||||
dir: "/"
|
||||
args: ["sh", "-c", """
|
||||
echo \(hello)
|
||||
echo "This test SHOULD fail, because this script SHOULD execute, since bar is not referenced"
|
||||
exit 1
|
||||
"""]
|
||||
},
|
||||
]
|
Reference in New Issue
Block a user