summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/geoip/files
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2016-01-12 14:56:04 -0800
committerMartin Jansa <Martin.Jansa@gmail.com>2016-02-10 15:08:19 +0100
commite28e6e1241ba6326c2a2dddb607bc525ab82ce5c (patch)
tree01e97850bc618c8b6dac1c9dfe4ecc583e2bc57b /meta-networking/recipes-support/geoip/files
parent9ab08d7b9ca47d85c07780b5c000abb21a9402ca (diff)
downloadmeta-openembedded-e28e6e1241ba6326c2a2dddb607bc525ab82ce5c.tar.gz
geoip: add ptest functionality
Also make geoip package rdepend on geoip-database and add symbolic link to GeoIPCity.dat. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/geoip/files')
-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