linux-pam/xtests/tst-pam_group1.sh
Maxin B. John 1fb9d2faee xtests: remove bash dependency
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>
2016-06-30 15:21:18 +02:00

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