diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/packaging/interactive/schema.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/packaging/interactive/schema.sh b/tests/packaging/interactive/schema.sh new file mode 100755 index 00000000..3ea45d52 --- /dev/null +++ b/tests/packaging/interactive/schema.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +set -e + +kresctl schema +if [ "$?" -ne "0" ]; then + echo "Failed to generate JSON schema with 'kresctl'" + exit 1 +fi + +kresctl schema --live +if [ "$?" -ne "0" ]; then + echo "Failed to get JSON schema from the running resolver" + exit 1 +fi |