]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
testsuite: Fix missed instances of &> redirection
authorAndreas Metzler <ametzler@bebt.de>
Sun, 23 Jan 2022 06:52:21 +0000 (07:52 +0100)
committerAndreas Metzler <ametzler@bebt.de>
Sun, 23 Jan 2022 11:21:37 +0000 (12:21 +0100)
Signed-off-by: Andreas Metzler <ametzler@bebt.de>
tests/system-override-curves-allowlist.sh
tests/system-override-hash-filters-prf.sh

index 11e6abab25e44508375d7e4f5cabd8ef2a8fe520..8c273aacad9e8b53d5fd39a82f5fc56451469543 100755 (executable)
@@ -167,7 +167,7 @@ for curve in ${INITIALLY_DISABLED_CURVES}; do
        test $curve = X25519 && key_type=x25519
        ${VALGRIND} ${CERTTOOL} \
                --generate-privkey --key-type=$key_type --curve=$curve \
-               --outfile "${TMPFILE_KEY}" &> ${TMPFILE_OBSERVED_LOG}
+               --outfile "${TMPFILE_KEY}" > ${TMPFILE_OBSERVED_LOG} 2>&1
        EX=$?
        if test $EX != 1; then
                echo "key generation using $curve has succeeded unexpectedly"
index 89774f42a7df9ba0a96c5cb702575128d7f6bf55..b09a78e7dfb89f299dac27de90dec3ad15a34b5a 100755 (executable)
@@ -33,7 +33,7 @@ TMPOUTFILE=out.$$.tmp
 
 # Sanity
 
-${CLI} --list -d 4 --priority NORMAL &>"${TMPOUTFILE}"
+${CLI} --list -d 4 --priority NORMAL > "${TMPOUTFILE}" 2>&1
 if test $? != 0; then
        cat "${TMPOUTFILE}"
        echo 'fails just listing ciphersuites for NORMAL'
@@ -64,7 +64,7 @@ _EOF_
 export GNUTLS_SYSTEM_PRIORITY_FILE="${TMPCFGFILE}"
 export GNUTLS_SYSTEM_PRIORITY_FAIL_ON_INVALID=1
 
-${CLI} --list -d 4 --priority NORMAL &>"${TMPOUTFILE}"
+${CLI} --list -d 4 --priority NORMAL > "${TMPOUTFILE}" 2>&1
 if ${GREP} -Fq TLS_AES_256_GCM_SHA384 "${TMPOUTFILE}"; then
        cat "${TMPOUTFILE}"
        echo 'TLS_AES_256_GCM_SHA384 (TLS 1.3) has not disappeared'