Adding simple overlay test
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
This commit is contained in:
parent
7a837ef8fb
commit
6010178131
1
examples/tests/exec/env/overlay/main.cue
vendored
1
examples/tests/exec/env/overlay/main.cue
vendored
@ -14,7 +14,6 @@ bar: string
|
|||||||
[ "$foo" == "overlay environment" ] || exit 1
|
[ "$foo" == "overlay environment" ] || exit 1
|
||||||
"""]
|
"""]
|
||||||
env: foo: bar
|
env: foo: bar
|
||||||
always: true
|
|
||||||
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
|
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
|
||||||
dir: "/"
|
dir: "/"
|
||||||
},
|
},
|
||||||
|
@ -82,9 +82,8 @@ test::exec(){
|
|||||||
"$dagger" compute "$d"/exec/env/invalid
|
"$dagger" compute "$d"/exec/env/invalid
|
||||||
test::one "Exec: env valid" --exit=0 --stdout={} \
|
test::one "Exec: env valid" --exit=0 --stdout={} \
|
||||||
"$dagger" compute "$d"/exec/env/valid
|
"$dagger" compute "$d"/exec/env/valid
|
||||||
# XXX overlays are not wired yet
|
test::one "Exec: env with overlay" --exit=0 \
|
||||||
# test::one "Exec: env with overlay" --exit=0 --stdout={} \
|
"$dagger" compute --input 'bar: "overlay environment"' "$d"/exec/env/overlay
|
||||||
# "$dagger" compute --input-string 'bar: "overlay environment"' "$d"/exec/env/overlay
|
|
||||||
# XXX broken right now: https://github.com/blocklayerhq/dagger/issues/30
|
# XXX broken right now: https://github.com/blocklayerhq/dagger/issues/30
|
||||||
#test::one "Exec: non existent dir" --exit=0 --stdout={} \
|
#test::one "Exec: non existent dir" --exit=0 --stdout={} \
|
||||||
# "$dagger" compute "$d"/exec/dir/doesnotexist
|
# "$dagger" compute "$d"/exec/dir/doesnotexist
|
||||||
|
Reference in New Issue
Block a user