diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2023-04-26 17:41:24 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2023-04-26 17:41:24 +0200 |
commit | f84716c064312dd9dc0d149f0ec7a12f5c88c3af (patch) | |
tree | 84d6b270b4b8d3ff8597472e9b0c23160a0e562e | |
parent | c80a2530eb014b34a314e078fec2589bc7969e33 (diff) |
tests/account-encrypted-*: Set TERM="linux".
-rw-r--r-- | tests/account-encrypted-gpg | 2 | ||||
-rw-r--r-- | tests/account-encrypted-openssl | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/account-encrypted-gpg b/tests/account-encrypted-gpg index fd1e4ac..7cb978d 100644 --- a/tests/account-encrypted-gpg +++ b/tests/account-encrypted-gpg @@ -9,7 +9,7 @@ keyid="$(gpg --list-secret-key --with-colons | grep -m1 ^fpr: | cut -sd: -f10)" gpg --encrypt -r "$keyid" /etc/lacme/account.key sed -ri '0,\|^#?privkey\s*=.*| {s||privkey = gpg:/etc/lacme/account.key.gpg|}' /etc/lacme/lacme-accountd.conf -export GPG_TTY="$(tty)" +export GPG_TTY="$(tty)" TERM="linux" lacme account # vim: set filetype=sh : diff --git a/tests/account-encrypted-openssl b/tests/account-encrypted-openssl index e79a528..a3ad707 100644 --- a/tests/account-encrypted-openssl +++ b/tests/account-encrypted-openssl @@ -5,6 +5,7 @@ PASSPHRASE="test" openssl rsa -aes128 -passout pass:"$PASSPHRASE" </etc/lacme/account.key >/etc/lacme/account.enc.key sed -ri '0,\|^#?privkey\s*=.*| {s||privkey = file:/etc/lacme/account.enc.key|}' /etc/lacme/lacme-accountd.conf +export TERM="linux" lacme account # vim: set filetype=sh : |