annotate test.sh @ 32:26f7e0bb39d6

Quick test script, & rename examples to match
author Chris Cannam
date Mon, 14 Mar 2016 13:16:15 +0000
parents
children a5eb5ef2e92d
rev   line source
Chris@32 1 #!/bin/bash
Chris@32 2
Chris@32 3 set -eu
Chris@32 4
Chris@32 5 for ex in examples/*.json ; do
Chris@32 6 echo "Checking $ex..." 1>&2
Chris@32 7 jsonschema -i "$ex" schema/$(basename "$ex")
Chris@32 8 done
Chris@32 9