summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2010-06-09 08:58:06 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2010-06-09 08:58:06 +0000
commited3eeb1f9d6dd02f2ae3035f4504b97c4f80c338 (patch)
tree8fcc6c5dafba1f7e01fd4246eda2b6a34a7b73c8
parent008cfb39b204fa3c96b0742fff58dab2e822b96c (diff)
Relevant BUGIDs:
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: ---------------
-rw-r--r--ChangeLog5
-rw-r--r--modules/pam_tty_audit/Makefile.am1
-rwxr-xr-xmodules/pam_tty_audit/tst-pam_tty_audit2
3 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 540d5911..cc9ecd7b 100644
--- 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
diff --git a/modules/pam_tty_audit/Makefile.am b/modules/pam_tty_audit/Makefile.am
index ae0deb9c..2e2cbb66 100644
--- a/modules/pam_tty_audit/Makefile.am
+++ b/modules/pam_tty_audit/Makefile.am
@@ -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
index 00000000..2b8ab4b0
--- /dev/null
+++ b/modules/pam_tty_audit/tst-pam_tty_audit
@@ -0,0 +1,2 @@
+#!/bin/sh
+../../tests/tst-dlopen .libs/pam_tty_audit.so