Fix intermittent "broken pipe" in version sort test (#2817)

This commit is contained in:
native-api 2023-10-12 22:09:48 +03:00 committed by GitHub
parent bb38acd994
commit dee8a9dbad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -201,6 +201,7 @@ OUT
create_version "1.218.0" create_version "1.218.0"
create_executable sort <<SH create_executable sort <<SH
#!$BASH #!$BASH
cat >/dev/null
if [ "\$1" == "--version-sort" ]; then if [ "\$1" == "--version-sort" ]; then
echo "${PYENV_ROOT}/versions/1.9.0" echo "${PYENV_ROOT}/versions/1.9.0"
echo "${PYENV_ROOT}/versions/1.53.0" echo "${PYENV_ROOT}/versions/1.53.0"