xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/geoip/geoip-perl/run-ptest (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#!/bin/sh
2
3# The tests contain hard-coded relative paths and must be
4# executed from $pdir.
5#
6pdir=`dirname $0`
7cd ${pdir}
8for i in t/*.t ; do
9	perl ${i} 1>/dev/null 2>&1;
10	if [ $? == 0 ]; then
11		echo PASS: $i;
12	else
13		echo FAIL: $i;
14	fi;
15done
16