pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/coreutils/patches



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Wed Jul 27 14:32:37 UTC 2022

Added Files:
        pkgsrc/sysutils/coreutils/patches: patch-tests_misc_b2sum.sh

Log Message:
coreutils, gnuls: Add forgotten patch


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/coreutils/patches/patch-tests_misc_b2sum.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/sysutils/coreutils/patches/patch-tests_misc_b2sum.sh
diff -u /dev/null pkgsrc/sysutils/coreutils/patches/patch-tests_misc_b2sum.sh:1.1
--- /dev/null   Wed Jul 27 14:32:37 2022
+++ pkgsrc/sysutils/coreutils/patches/patch-tests_misc_b2sum.sh Wed Jul 27 14:32:37 2022
@@ -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