summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/geoip/files/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/geoip/files/run-ptest')
-rw-r--r--meta-networking/recipes-support/geoip/files/run-ptest11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/geoip/files/run-ptest b/meta-networking/recipes-support/geoip/files/run-ptest
new file mode 100644
index 000000000..14e96191f
--- /dev/null
+++ b/meta-networking/recipes-support/geoip/files/run-ptest
@@ -0,0 +1,11 @@
1#!/bin/sh
2pdir=`dirname $0`
3cd ${pdir}/tests
4for i in ./benchmark ./test-geoip-city ; do
5 ${i} 1>/dev/null 2>&1;
6 if [ $? == 0 ]; then
7 echo PASS: $i;
8 else
9 echo FAIL: $i;
10 fi;
11done