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

8 lines
132 B
Bash
Executable File

#!/bin/sh
/usr/sbin/useradd -p '!!' tstpamlimits
./tst-pam_limits1
RET=$?
/usr/sbin/userdel -r tstpamlimits 2> /dev/null
exit $RET