#!/bin/sh# This script is used to run json-c test suitescd tests
ret_val=0for i in test*.test;do# test_basic is not an own testcase, just# contains common code of other testsif["$i" !="test_basic.test"];thenif ./$i > json-c_test.log 2>&1;thenecho PASS: $ielseret_val=1echo FAIL: $ififidoneexit$ret_val