summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2018-03-22 13:18:39 +1300
committerGarming Sam <garming@samba.org>2018-03-23 02:32:08 +0100
commite13349093923e754884a30db8c6b4f8928b32dad (patch)
treebd3a029dc4afba7729a6f2ae38fa806a1180ada2 /testprogs
parent8fd73b389177f0622c3a6935a986e2581f7f661e (diff)
downloadsamba-e13349093923e754884a30db8c6b4f8928b32dad.tar.gz
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>
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/blackbox/test_kpasswd_heimdal.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/testprogs/blackbox/test_kpasswd_heimdal.sh b/testprogs/blackbox/test_kpasswd_heimdal.sh
index 7e3daed8467..5cb6dab9fbe 100755
--- a/testprogs/blackbox/test_kpasswd_heimdal.sh
+++ b/testprogs/blackbox/test_kpasswd_heimdal.sh
@@ -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