refine run.sh
This commit is contained in:
parent
685ca97470
commit
987f4ef0d7
|
@ -11,8 +11,8 @@ for i in toml-spec-tests/values/*.toml; do
|
|||
res='[OK]'
|
||||
if (../toml_json $i >& $i.json.out); then
|
||||
jq . $i.json.out > t.json
|
||||
if (diff $i.json t.json >& /dev/null); then
|
||||
mv t.json $i.json.failed
|
||||
mv t.json $i.json.out
|
||||
if [ -f $i.json ] && (diff $i.json $i.json.out >& /dev/null); then
|
||||
res='[FAILED]'
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue