[testjson] Exclude known invalid JSON from tests

There are invalid JSON files in themes/ that are used for unit tests, so
exclude those from the testjson.sh execution.

see #41
This commit is contained in:
Tobi-wan Kenobi 2017-02-24 18:13:17 +01:00
parent 188ee36780
commit 633f167f18

View file

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
find themes/ -name "*.json"|xargs cat|json_verify -s find themes/ -name "*.json"|grep -v invalid|xargs cat|json_verify -s