aboutsummaryrefslogtreecommitdiff
path: root/xtests/tst-pam_access2.sh
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2020-12-27 22:05:13 -0800
committerSteve Langasek <vorlon@debian.org>2020-12-27 22:05:13 -0800
commitea04efa24985743014da9dd22c0581cbaef82ede (patch)
treedcbd0efb229b17f696f7195671f05b354b4f70fc /xtests/tst-pam_access2.sh
downloadpam-ea04efa24985743014da9dd22c0581cbaef82ede.tar.gz
pam-ea04efa24985743014da9dd22c0581cbaef82ede.tar.bz2
pam-ea04efa24985743014da9dd22c0581cbaef82ede.zip
Import pam_1.4.0.orig.tar.xz
[dgit import orig pam_1.4.0.orig.tar.xz]
Diffstat (limited to 'xtests/tst-pam_access2.sh')
-rwxr-xr-xxtests/tst-pam_access2.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/xtests/tst-pam_access2.sh b/xtests/tst-pam_access2.sh
new file mode 100755
index 00000000..7e3e60f6
--- /dev/null
+++ b/xtests/tst-pam_access2.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+/usr/sbin/groupadd tstpamaccess
+/usr/sbin/useradd -p '!!' tstpamaccess2
+./tst-pam_access2
+RET=$?
+/usr/sbin/userdel -r tstpamaccess2 2> /dev/null
+/usr/sbin/groupdel tstpamaccess 2> /dev/null
+exit $RET