summaryrefslogtreecommitdiffstats
path: root/tests/testsuite.at
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-09-27 14:18:37 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-09-27 16:29:54 +0200
commit4b54cab4763777c7741cf401ac02ec7bb4d023c4 (patch)
tree3669c7e9e369273eac590abff8a7dde1e0f66e59 /tests/testsuite.at
parent0262d3ff9fadbc6300e4146101539b4f07fcf4b8 (diff)
logging: Move the logging test from OpenBSC into libosmocore
Add a testcase for the logging facility. The test is coming from the OpenBSC code.
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r--tests/testsuite.at7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 360f846f..1cfae03c 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -84,3 +84,10 @@ AT_KEYWORDS([gsm0408])
cat $abs_srcdir/gsm0408/gsm0408_test.ok > expout
AT_CHECK([$abs_top_builddir/tests/gsm0408/gsm0408_test], [], [expout], [ignore])
AT_CLEANUP
+
+AT_SETUP([logging])
+AT_KEYWORDS([logging])
+cat $abs_srcdir/logging/logging_test.ok > expout
+cat $abs_srcdir/logging/logging_test.err > experr
+AT_CHECK([$abs_top_builddir/tests/logging/logging_test], [], [expout], [experr])
+AT_CLEANUP