mirror of
https://github.com/bronson-g/libjson.git
synced 2025-12-24 05:37:43 -05:00
11 lines
243 B
Bash
11 lines
243 B
Bash
#!/bin/sh
|
|
|
|
for file in tests/*.json; do
|
|
./libjsontest $file > testout/got/$file
|
|
|
|
if cmp --silent testout/got/$file testout/exp/$file; then
|
|
echo "\033[0;32m$file\033[0m"
|
|
else
|
|
echo "\033[0;31m$file\033[0m"
|
|
fi
|
|
done |