diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-07 19:51:05 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-07 19:51:05 (EDT) |
commit | 9b3d2ec0855e0ddea3332b072ac1fee39b8fd71f (patch) | |
tree | 054b965c9317bf91a533bc483f2bef57ffd15e41 /patches/0003-Test-suite-fix-Korn-shell-incompatibility.patch | |
parent | b60cead7f381b10192559802604d585175611cad (diff) |
patches: Add upstream commits up to 9c98635
Diffstat (limited to 'patches/0003-Test-suite-fix-Korn-shell-incompatibility.patch')
-rw-r--r-- | patches/0003-Test-suite-fix-Korn-shell-incompatibility.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/0003-Test-suite-fix-Korn-shell-incompatibility.patch b/patches/0003-Test-suite-fix-Korn-shell-incompatibility.patch new file mode 100644 index 0000000..49c37db --- /dev/null +++ b/patches/0003-Test-suite-fix-Korn-shell-incompatibility.patch @@ -0,0 +1,26 @@ +From 074e2395f81d0ecaa66b71a6c228c70b49db72e5 Mon Sep 17 00:00:00 2001 +From: Andreas Gruenbacher <agruen@gnu.org> +Date: Wed, 7 Feb 2018 17:05:00 +0100 +Subject: [PATCH 03/17] Test suite: fix Korn shell incompatibility + +tests/merge: In a Korn shell, shift apparently fails when $# is 0. +--- + tests/merge | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/merge b/tests/merge +index b628891..e950b92 100644 +--- a/tests/merge ++++ b/tests/merge +@@ -32,7 +32,7 @@ x2() { + shift + done > b.sed + echo "$body" | sed -f b.sed > b +- shift ++ test $# -eq 0 || shift + while test $# -gt 0 ; do + echo "$1" + shift +-- +2.11.0 + |