summaryrefslogtreecommitdiff
path: root/tests/protocol-set-allowlist.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/protocol-set-allowlist.sh')
-rwxr-xr-xtests/protocol-set-allowlist.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/protocol-set-allowlist.sh b/tests/protocol-set-allowlist.sh
index 950c58bd79..907f37562f 100755
--- a/tests/protocol-set-allowlist.sh
+++ b/tests/protocol-set-allowlist.sh
@@ -116,7 +116,7 @@ with_config_file() {
# Smoke --list, @SYSTEM
-with_config_file "${CLI}" --list -d 4 --priority @SYSTEM &>"${TMPFILE_LIST}"
+with_config_file "${CLI}" --list -d 4 --priority @SYSTEM > "${TMPFILE_LIST}" 2>&1
if test $? != 0; then
${CAT} "${TMPFILE_LIST}"
echo 'fails with just @SYSTEM'
@@ -131,7 +131,7 @@ fi
# Smoke-test that TLS 1.3 is enableable with these algorithms
with_config_file \
- "${CLI}" --list -d 4 --priority @SYSTEM:+VERS-TLS1.3 &>"${TMPFILE_LIST}"
+ "${CLI}" --list -d 4 --priority @SYSTEM:+VERS-TLS1.3 > "${TMPFILE_LIST}" 2>&1
if test $? != 0; then
${CAT} "${TMPFILE_LIST}"
echo 'listing algorithms fails with @SYSTEM:+VERS-TLS1.3'
@@ -146,7 +146,7 @@ fi
# Smoke-test that TLS 1.1 is enableable with these algorithms
with_config_file \
- "${CLI}" --list -d 4 --priority @SYSTEM:+VERS-TLS1.1 &>"${TMPFILE_LIST}"
+ "${CLI}" --list -d 4 --priority @SYSTEM:+VERS-TLS1.1 > "${TMPFILE_LIST}" 2>&1
if test $? != 0; then
${CAT} "${TMPFILE_LIST}"
echo 'listing algorithms fails with @SYSTEM:+VERS-TLS1.1'