]> git.ipfire.org Git - location/libloc.git/commitdiff
Add example database for testing purposes.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 1 Oct 2019 06:02:03 +0000 (08:02 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 1 Oct 2019 12:00:45 +0000 (12:00 +0000)
This example database and it's content can be used for
various testing purposes.

The testsuite of the perl bindings depends on it.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
testdata/Readme.txt [new file with mode: 0644]
testdata/test.db [new file with mode: 0644]

diff --git a/testdata/Readme.txt b/testdata/Readme.txt
new file mode 100644 (file)
index 0000000..25e7f59
--- /dev/null
@@ -0,0 +1,12 @@
+The database in this folder can be used to run various tests against it and
+has been created by using the "create-database.py" script in the examples directory.
+
+It contains the following content:
+
+Vendor: "IPFire Project"
+Description: "This is a geo location database"
+License: "CC"
+
+AS: "AS204867 (Lightning Wire Labs GmbH)"
+Subnet: "2a07:1c44:5800::/40"
+Country Code: "DE"
diff --git a/testdata/test.db b/testdata/test.db
new file mode 100644 (file)
index 0000000..5840aca
Binary files /dev/null and b/testdata/test.db differ