aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testsuite.at
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-11-20 10:56:35 +0100
committerlaforge <laforge@osmocom.org>2020-01-10 16:07:40 +0000
commitf10463c5fc6d9e786ab7c648d99f7450f9a25906 (patch)
tree006f7ac6dccc6d608fb73d1eea5ec0ee919356fb /tests/testsuite.at
parentbf7deda0fc30dba8cdd8f3cc9d5047f9800ca50f (diff)
add mDNS lookup method to libosmo-mslookup
Add the first actually useful lookup method to the mslookup library: multicast DNS. The server side is added in a subsequent commit, when the mslookup server is implemented for the osmo-hlr program. Use custom DNS encoding instead of libc-ares (which we use in OsmoSGSN already), because libc-ares is only a DNS client implementation and we will need both client and server. Related: OS#4237 Patch-by: osmith, nhofmeyr Change-Id: I03a0ffa1d4dc1b24ac78a5ad0975bca90a49c728
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r--tests/testsuite.at12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 39df7aa..827e9f8 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -40,6 +40,12 @@ cat $abs_srcdir/db_upgrade/db_upgrade_test.err > experr
AT_CHECK([$abs_srcdir/db_upgrade/db_upgrade_test.sh $abs_srcdir/db_upgrade $abs_builddir/db_upgrade], [], [expout], [experr])
AT_CLEANUP
+AT_SETUP([mdns])
+AT_KEYWORDS([mdns])
+cat $abs_srcdir/mslookup/mdns_test.err > experr
+AT_CHECK([$abs_top_builddir/tests/mslookup/mdns_test], [0], [ignore], [experr])
+AT_CLEANUP
+
AT_SETUP([mslookup])
AT_KEYWORDS([mslookup])
cat $abs_srcdir/mslookup/mslookup_test.err > experr
@@ -51,3 +57,9 @@ AT_KEYWORDS([mslookup_client])
cat $abs_srcdir/mslookup/mslookup_client_test.err > experr
AT_CHECK([$abs_top_builddir/tests/mslookup/mslookup_client_test], [0], [ignore], [experr])
AT_CLEANUP
+
+AT_SETUP([mslookup_client_mdns])
+AT_KEYWORDS([mslookup_client_mdns])
+cat $abs_srcdir/mslookup/mslookup_client_mdns_test.err > experr
+AT_CHECK([$abs_top_builddir/tests/mslookup/mslookup_client_mdns_test], [0], [ignore], [experr])
+AT_CLEANUP