aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testsuite.at
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2013-05-23 19:58:28 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-05-24 02:20:50 +0200
commit479fba171ba5d3877fc4024f4df03183ffc363b3 (patch)
tree25af744f32993b4ef2de3c50d85b738ac7763ae2 /tests/testsuite.at
parentdd34adea7a385b2246e6a7445d2bf71dc86e046b (diff)
add testsuite infrastructure and osmux test
This patch adds the testsuite infrastructure and it populates it with one test for osmux. The osmux tests makes sure that: * We get the same number of RTP messages in the input and the output path. * The payload of the RTP message is reconstructed correctly. * The reconstructed timing is correct.
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r--tests/testsuite.at8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
new file mode 100644
index 0000000..b3bc50f
--- /dev/null
+++ b/tests/testsuite.at
@@ -0,0 +1,8 @@
+AT_INIT
+AT_BANNER([Regression tests.])
+
+AT_SETUP([osmux_test])
+AT_KEYWORDS([osmux_test])
+cat $abs_srcdir/osmux/osmux-test.ok > expout
+AT_CHECK([$abs_top_builddir/tests/osmux/osmux_test], [0], [expout], [ignore])
+AT_CLEANUP