summaryrefslogtreecommitdiff
path: root/xtests/tst-pam_pwhistory1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xtests/tst-pam_pwhistory1.sh')
-rw-r--r--xtests/tst-pam_pwhistory1.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/xtests/tst-pam_pwhistory1.sh b/xtests/tst-pam_pwhistory1.sh
new file mode 100644
index 00000000..ddb3b8b1
--- /dev/null
+++ b/xtests/tst-pam_pwhistory1.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+/usr/sbin/useradd tstpampwhistory
+./tst-pam_pwhistory1
+RET=$?
+/usr/sbin/userdel -r tstpampwhistory 2> /dev/null
+exit $RET