--- a/components/perl_modules/authen-pam/Makefile Mon Jul 14 15:24:42 2014 -0700
+++ b/components/perl_modules/authen-pam/Makefile Sat Jul 12 08:14:58 2014 +0200
@@ -57,6 +57,9 @@
install: $(INSTALL_32_and_64)
+COMPONENT_POST_TEST_ACTION= \
+ PERL5LIB=$(@D)/blib/lib:$(@D)/blib/arch $(PERL) test/PAM_NO_AUTHTOK_CHECK.pl
+
#
# Must have xml-parser installed for these tests to pass.
#
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/perl_modules/authen-pam/test/PAM_NO_AUTHTOK_CHECK.pl Sat Jul 12 08:14:58 2014 +0200
@@ -0,0 +1,6 @@
+#!/usr/bin/perl
+use Authen::PAM;
+ref($pamh = new Authen::PAM($service, $username, \&my_conv_func));
+$pamh->pam_chauthtok(PAM_DISALLOW_NULL_AUTHTOK());
+$pamh->pam_chauthtok(PAM_NO_AUTHTOK_CHECK());
+print "$0 ($^X - $^V) PASSED\n";
--- a/make-rules/makemaker.mk Mon Jul 14 15:24:42 2014 -0700
+++ b/make-rules/makemaker.mk Sat Jul 12 08:14:58 2014 +0200
@@ -18,7 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
#
# Perl 5.12 and older are 32-bit only.
@@ -41,6 +41,13 @@
$(BUILD_DIR)/$(MACH64)-5.16/.configured: PERL_VERSION=5.16
$(BUILD_DIR)/$(MACH64)-5.16/.configured: BITS=64
+$(BUILD_DIR)/$(MACH32)-5.12/.tested: PERL_VERSION=5.12
+$(BUILD_DIR)/$(MACH32)-5.12/.tested: BITS=32
+$(BUILD_DIR)/$(MACH32)-5.12-mt/.tested: PERL_VERSION=5.12-mt
+$(BUILD_DIR)/$(MACH32)-5.12-mt/.tested: BITS=32
+$(BUILD_DIR)/$(MACH64)-5.16/.tested: PERL_VERSION=5.16
+$(BUILD_DIR)/$(MACH64)-5.16/.tested: BITS=64
+
BUILD_32 = $(BUILD_DIR)/$(MACH32)-5.12/.built
BUILD_32 += $(BUILD_DIR)/$(MACH32)-5.12-mt/.built
BUILD_64 = $(BUILD_DIR)/$(MACH64)-5.16/.built