diff options
Diffstat (limited to 'patches')
-rw-r--r-- | patches/0002-Test-suite-compatibility-fixes.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/patches/0002-Test-suite-compatibility-fixes.patch b/patches/0002-Test-suite-compatibility-fixes.patch index 425deb5..07de67c 100644 --- a/patches/0002-Test-suite-compatibility-fixes.patch +++ b/patches/0002-Test-suite-compatibility-fixes.patch @@ -85,48 +85,6 @@ index 22d787b..b628891 100644 # ============================================================== check 'x 3' <<EOF -diff --git a/tests/test-lib.sh b/tests/test-lib.sh -index be0d7e3..661da52 100644 ---- a/tests/test-lib.sh -+++ b/tests/test-lib.sh -@@ -41,7 +41,7 @@ use_local_patch() { - - eval 'patch() { - if test -n "$GDB" ; then -- echo -e "\n" >&3 -+ printf "\n\n" >&3 - gdbserver localhost:53153 $PATCH "$@" 2>&3 - else - $PATCH "$@" -@@ -113,22 +113,15 @@ cleanup() { - exit $status - } - --if test -z "`echo -n`"; then -- if eval 'test -n "${BASH_LINENO[0]}" 2>/dev/null'; then -- eval ' -- _start_test() { -- echo -n "[${BASH_LINENO[2]}] $* -- " -- }' -- else -- eval ' -- _start_test() { -- echo -n "* $* -- " -- }' -- fi -+if eval 'test -n "${BASH_LINENO[0]}" 2>/dev/null'; then -+ eval ' -+ _start_test() { -+ printf "[${BASH_LINENO[2]}] %s -- " "$*" -+ }' - else - eval ' - _start_test() { -- echo "* $*" -+ printf "* %s -- " "$*" - }' - fi - -- 2.11.0 |