mirror of
https://github.com/linux-pam/linux-pam.git
synced 2024-11-23 09:43:36 +08:00
1fb9d2faee
There are no bash specific syntax in the xtest scripts. So, remove the bash dependency. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
12 lines
280 B
Bash
Executable File
12 lines
280 B
Bash
Executable File
#!/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
|