summaryrefslogtreecommitdiff
path: root/test/cases
diff options
context:
space:
mode:
Diffstat (limited to 'test/cases')
-rw-r--r--test/cases/librerelease.bats3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cases/librerelease.bats b/test/cases/librerelease.bats
index 1e29525..3aa8450 100644
--- a/test/cases/librerelease.bats
+++ b/test/cases/librerelease.bats
@@ -7,7 +7,8 @@ setup() {
# Configure and start the SSH server
install -Dm644 /dev/stdin "$tmpdir/etc/ssh/sshd_config" <<-eot
- AuthorizedKeysFile ${HOME}/.ssh/id_rsa.pub
+ AuthorizedKeysCommand /usr/bin/cat ${HOME}/.ssh/id_rsa.pub
+ AuthorizedKeysCommandUser ${USER}
PasswordAuthentication no
AcceptEnv TMPDIR
AcceptEnv _HOME GNUPGHOME XDG_CACHE_HOME XDG_CONFIG_HOME