test: enable noop

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2021-01-14 17:39:16 -08:00
parent 9e0bb85a1b
commit 0a91de3146

View File

@ -22,9 +22,8 @@ test::compute(){
"$dagger" compute "$d"/compute/invalid/int "$dagger" compute "$d"/compute/invalid/int
test::one "Compute: invalid struct should fail" --exit=1 --stdout= \ test::one "Compute: invalid struct should fail" --exit=1 --stdout= \
"$dagger" compute "$d"/compute/invalid/struct "$dagger" compute "$d"/compute/invalid/struct
# XXX https://github.com/blocklayerhq/dagger/issues/22 test::one "Compute: noop should succeed" --exit=0 --stdout='{"empty":{},"realempty":{},"withprops":{}}' \
#test::one "Compute: noop should succeed" --exit=0 --stdout="{}" \ "$dagger" compute "$d"/compute/noop
# "$dagger" compute "$d"/compute/noop
# XXX https://github.com/blocklayerhq/dagger/issues/28 # XXX https://github.com/blocklayerhq/dagger/issues/28
#test::one "Compute: unresolved should fail" --exit=1 --stdout= \ #test::one "Compute: unresolved should fail" --exit=1 --stdout= \
# "$dagger" compute "$d"/compute/invalid/undefined_prop # "$dagger" compute "$d"/compute/invalid/undefined_prop