From 97602d973457a5248ada6ca9e5c29c1a5811240d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 11 Nov 2012 14:21:26 +0100 Subject: fr: Begin with a GRE/FrameRelay test due the recent regression The framerelay code is seldomly used and the socket clean ups introduced a regression. Create a testcase that will work as a user not having the right capabilities to create raw sockets. We have to make sure that this test is working even when not ran as root. The easiest way to do this is to provide our own socket implementation. This is done with dlopen/dlsym to convert the raw socket request to an UDP one. --- tests/testsuite.at | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/testsuite.at') diff --git a/tests/testsuite.at b/tests/testsuite.at index 1cfae03c..5029b9e9 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -91,3 +91,11 @@ 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 + +AT_SETUP([fr]) +AT_KEYWORDS([fr]) +cat $abs_srcdir/fr/fr_test.ok > expout +cat $abs_srcdir/fr/fr_test.err > experr +AT_CHECK([$abs_top_builddir/tests/fr/fr_test], [], [expout], [experr]) + +AT_CLEANUP -- cgit v1.2.3