linux-pam/xtests/tst-pam_access2.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

10 lines
211 B
Bash
Executable File

#!/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