]> granicus.if.org Git - linux-pam/commitdiff
Relevant BUGIDs:
authorTomas Mraz <tm@t8m.info>
Tue, 27 Jun 2006 13:14:15 +0000 (13:14 +0000)
committerTomas Mraz <tm@t8m.info>
Tue, 27 Jun 2006 13:14:15 +0000 (13:14 +0000)
Purpose of commit: new feature

Commit summary:
---------------
* added dlopen test for pam_namespace

ChangeLog
modules/pam_namespace/Makefile.am
modules/pam_namespace/tst-pam_namespace [new file with mode: 0755]

index f7ae8ce723f0cbed2674f2c1768a547d376a24ae..8733958a1e980408fcf0cc83a59e653336e03f88 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,7 @@
        * modules/pam_namespace/namespace.init: New.
        * modules/pam_namespace/pam_namespace.8: New.
        * modules/pam_namespace/pam_namespace.8.xml: New.
+       * modules/pam_namespace/tst-pam_keyinit: New.
        * modules/Makefile.am: Added pam_namespace.
        * configure.in: Added pam_namespace, test for unshare
        library call.
index e1e8931f0b1d7882a0725a92d0f4db21acba194a..5d6dc01829b67afda2b3510833b02507fa1fa247 100644 (file)
@@ -14,7 +14,7 @@ if ENABLE_REGENERATE_MAN
 -include $(top_srcdir)/Make.xml.rules
 endif
 
-EXTRA_DIST = README namespace.conf $(man_MANS) $(XMLS)
+EXTRA_DIST = README namespace.conf $(man_MANS) $(XMLS) tst-pam_namespace
 
 noinst_HEADERS = md5.h
 
@@ -35,4 +35,5 @@ pam_namespace_la_SOURCES = pam_namespace.c md5.c md5.h
 
 secureconf_DATA = namespace.conf
 secureconf_SCRIPTS = namespace.init
+TESTS = tst-pam_namespace
 endif
diff --git a/modules/pam_namespace/tst-pam_namespace b/modules/pam_namespace/tst-pam_namespace
new file mode 100755 (executable)
index 0000000..c929dfc
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+../../tests/tst-dlopen .libs/pam_namespace.so