aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testsuite.at
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-12-01 09:12:47 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-12-01 09:14:32 +0100
commitb0985e3fa5ad539f1ab51ebf89724eb8e616a750 (patch)
tree211803084bedbda9ad4968a46be4195f3688bb6a /tests/testsuite.at
parent467e1497630a093cff94670da0e8fa39fd21c278 (diff)
test: Introduce a very simple test for the paging subsystem
Check that adding a paging command works, check that it is expired after the first call to paging_gen_msg. The test will be extended to test the scheduling and selection of the various paging messages.
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 00000000..d97f27b3
--- /dev/null
+++ b/tests/testsuite.at
@@ -0,0 +1,8 @@
+AT_INIT
+AT_BANNER([Regression tests.])
+
+AT_SETUP([paging])
+AT_KEYWORDS([paging])
+cat $abs_srcdir/paging/paging_test.ok > expout
+AT_CHECK([$abs_top_builddir/tests/paging/paging_test], [], [expout], [ignore])
+AT_CLEANUP