diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-07 20:28:45 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-07 20:28:45 (EDT) |
commit | ac8b92917f1261827510f70437889909fec3bd9e (patch) | |
tree | 1e99c5dde4653ee29b67c772cc457bfe209db07b | |
parent | 3c03734fcb68cd9877453860412a63f5112de9e1 (diff) |
patches/0002-Test-suite-compatibility-fixes.patch: Remove just one file section
-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 |