1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

selftest: Ensure tmpkpasswdscript is always under $PREFIX

Otherwise it might not be removed at the end of the test

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
Andrew Bartlett 2018-03-22 13:18:39 +13:00 committed by Garming Sam
parent 8fd73b3891
commit e133490939

View File

@ -109,7 +109,7 @@ testit "kpasswd check short user password" \
###########################################################
echo "check that a short password is rejected"
cat > ./tmpkpasswdscript <<EOF
cat > $PREFIX/tmpkpasswdscript <<EOF
expect Password
password ${TEST_PASSWORD}\n
expect New password
@ -126,7 +126,7 @@ testit "kpasswd check weak user password" \
### check that a strong password is accepted
###########################################################
cat > ./tmpkpasswdscript <<EOF
cat > $PREFIX/tmpkpasswdscript <<EOF
expect Password
password ${TEST_PASSWORD}\n
expect New password