summaryrefslogtreecommitdiffstats
path: root/xtests/tst-pam_group1.sh
blob: 44faca90a0f5399b922920b8d6efe48316e98250 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

/usr/sbin/groupadd tstpamgrpg
/usr/sbin/useradd -p '!!' tstpamgrp
/usr/sbin/useradd -p '!!' tstpamgrp2
./tst-pam_group1
RET=$?
/usr/sbin/userdel -r tstpamgrp 2> /dev/null
/usr/sbin/userdel -r tstpamgrp2 2> /dev/null
/usr/sbin/groupdel tstpamgrpg 2> /dev/null
exit $RET