summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/sh/test-schema.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/test/sh/test-schema.sh')
-rwxr-xr-xconfig-model/src/test/sh/test-schema.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/config-model/src/test/sh/test-schema.sh b/config-model/src/test/sh/test-schema.sh
index 11e592d1bce..efee3087ebe 100755
--- a/config-model/src/test/sh/test-schema.sh
+++ b/config-model/src/test/sh/test-schema.sh
@@ -32,3 +32,10 @@ $cmd
cmd="java -jar $jar target/generated-sources/trang/resources/schema/validation-overrides.rng src/test/schema-test-files/validation-overrides.xml"
echo $cmd
$cmd
+
+cmd="java -jar $jar target/generated-sources/trang/resources/schema/services.rng src/test/schema-test-files/services-bad-vespamalloc.xml"
+echo $cmd
+if $cmd; then
+ echo 'invalid attribute not detected'
+ exit 1
+fi