Merge pull request #34 from dubo-dubon-duponey/moar

Enable simple overlay test
This commit is contained in:
Andrea Luzzardi 2021-01-14 19:02:46 -08:00 committed by GitHub
commit 86b7ba3e38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -14,7 +14,6 @@ bar: string
[ "$foo" == "overlay environment" ] || exit 1
"""]
env: foo: bar
always: true
// XXX Blocked by https://github.com/blocklayerhq/dagger/issues/19
dir: "/"
},

View File

@ -82,9 +82,8 @@ test::exec(){
"$dagger" compute "$d"/exec/env/invalid
test::one "Exec: env valid" --exit=0 --stdout={} \
"$dagger" compute "$d"/exec/env/valid
# XXX overlays are not wired yet
# test::one "Exec: env with overlay" --exit=0 --stdout={} \
# "$dagger" compute --input-string 'bar: "overlay environment"' "$d"/exec/env/overlay
test::one "Exec: env with overlay" --exit=0 \
"$dagger" compute --input 'bar: "overlay environment"' "$d"/exec/env/overlay
# XXX broken right now: https://github.com/blocklayerhq/dagger/issues/30
#test::one "Exec: non existent dir" --exit=0 --stdout={} \
# "$dagger" compute "$d"/exec/dir/doesnotexist