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

9 lines
163 B
Bash
Executable File

#!/bin/sh
# pamunix0 = 0aXKZztA.d1KY
/usr/sbin/useradd -p 0aXKZztA.d1KY tstpamunix
./tst-pam_unix2
RET=$?
/usr/sbin/userdel -r tstpamunix 2> /dev/null
exit $RET