pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/coreutils/patches coreutils, gnuls: Add forgo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ca1cadca354e
branches:  trunk
changeset: 382390:ca1cadca354e
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Wed Jul 27 14:32:37 2022 +0000

description:
coreutils, gnuls: Add forgotten patch

diffstat:

 sysutils/coreutils/patches/patch-tests_misc_b2sum.sh |  15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 0fa3526b807d -r ca1cadca354e sysutils/coreutils/patches/patch-tests_misc_b2sum.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/coreutils/patches/patch-tests_misc_b2sum.sh      Wed Jul 27 14:32:37 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-tests_misc_b2sum.sh,v 1.1 2022/07/27 14:32:37 ryoon Exp $
+
+* Fix POSIX shell portability issue.
+
+--- tests/misc/b2sum.sh.orig   2022-04-11 15:59:13.000000000 +0000
++++ tests/misc/b2sum.sh
+@@ -41,7 +41,7 @@ $prog --strict -c openssl.b2sum || fail=
+ rm -f check.vals || framework_failure_
+ # Ensure we can check non tagged format
+ [ "$prog" != 'b2sum' ] && tag_opt='--untagged' || tag_opt=''
+-[ "$prog" == 'b2sum' ] && text_opt='--text' || text_opt=''
++[ "$prog" = 'b2sum' ] && text_opt='--text' || text_opt=''
+ for l in 0 128; do
+   $prog $tag_opt $text_opt -l $l /dev/null | tee -a check.vals > check.b2sum
+   $prog -l $l --strict -c check.b2sum || fail=1



Home | Main Index | Thread Index | Old Index