xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-support/libnl/files/run-ptest (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#!/bin/sh
2
3num_fail=0
4
5for test in check*
6do
7    ./"$test" \
8         && echo "PASS: $test" \
9         || {
10            echo "FAIL: $test"
11            num_fail=$(( ${num_fail} + 1))
12         }
13
14done
15
16exit $num_fail
17