]> granicus.if.org Git - linux-pam/commitdiff
Relevant BUGIDs:
authorThorsten Kukuk <kukuk@thkukuk.de>
Wed, 9 Jun 2010 08:58:06 +0000 (08:58 +0000)
committerThorsten Kukuk <kukuk@thkukuk.de>
Wed, 9 Jun 2010 08:58:06 +0000 (08:58 +0000)
Purpose of commit: bugfix

Add test case for unresolved symbols

2010-06-09  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_tty_audit/Makefile.am (TESTS): Add tst-pam_tty_audit.
        * modules/pam_tty_audit/tst-pam_tty_audit: New.

Commit summary:
---------------

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

index 540d5911b9e48729490e3ff6872c3e0c14604397..cc9ecd7bb80ee54423eaa8abe4b6bed857ec10fe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-06-09  Thorsten Kukuk  <kukuk@thkukuk.de>
+
+       * modules/pam_tty_audit/Makefile.am (TESTS): Add tst-pam_tty_audit.
+       * modules/pam_tty_audit/tst-pam_tty_audit: New.
+
 2010-06-07  Steve Langasek  <vorlon@debian.org>
 
        * modules/pam_tty_audit/Makefile.am: If we don't have the libraries
index ae0deb9c9e412a9c998593000d04e65e472bfe52..2e2cbb66d0fb4a1d58f5b0e12379162d8c13060f 100644 (file)
@@ -8,6 +8,7 @@ MAINTAINERCLEANFILES = $(MANS) README
 EXTRA_DIST = README pam_tty_audit.8 $(XMLS)
 
 if HAVE_AUDIT_TTY_STATUS
+  TESTS = tst-pam_tty_audit
   man_MANS = pam_tty_audit.8
 endif
 XMLS = README.xml pam_tty_audit.8.xml
diff --git a/modules/pam_tty_audit/tst-pam_tty_audit b/modules/pam_tty_audit/tst-pam_tty_audit
new file mode 100755 (executable)
index 0000000..2b8ab4b
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+../../tests/tst-dlopen .libs/pam_tty_audit.so