aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/run2
-rw-r--r--tests/tls-verify-peer/t2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/run b/tests/run
index c5614ee..db4fae6 100755
--- a/tests/run
+++ b/tests/run
@@ -150,7 +150,7 @@ prepare() {
env -i PATH="/usr/bin:/bin" /usr/sbin/dovecot -c "$home/.dovecot/config"
DOVECOT_SERVER+=( "$home/.dovecot/config" )
- printf "%s:%s:::::\\n" "$u" "$(xxd -l16 -p </dev/urandom)" >"$home/.dovecot/users"
+ printf "%s:%s::::%s:\\n" "$u" "$(xxd -l16 -p </dev/urandom)" "$home" >"$home/.dovecot/users"
fi
mkdir -pm0755 -- "$home/.local/bin"
diff --git a/tests/tls-verify-peer/t b/tests/tls-verify-peer/t
index 50c7445..60bd042 100644
--- a/tests/tls-verify-peer/t
+++ b/tests/tls-verify-peer/t
@@ -116,7 +116,7 @@ if [ -d "/etc/ssl/certs" ]; then
unverified_peer
fi
-c_rehash "$capath"
+openssl rehash "$capath"
# default host (localhost) is the CN (and also subjectAltName)
with_remote_config <<<"SSL_CApath = $capath"