summaryrefslogtreecommitdiffstats
path: root/tests/packaging/interactive/schema.sh
blob: 3ea45d522b3da664eec99acf80c45ec65d1dccb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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