pkgsrc-WIP-changes archive

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

bedtools: Check check for fdesc to test script



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Sun Feb 7 14:19:53 2021 -0600
Changeset:	53ee2e77856f2318cd2223d0af7938427ca400f8

Modified Files:
	bedtools/distinfo
Added Files:
	bedtools/patches/patch-test_test.sh

Log Message:
bedtools: Check check for fdesc to test script

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=53ee2e77856f2318cd2223d0af7938427ca400f8

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

diffstat:
 bedtools/distinfo                   |  1 +
 bedtools/patches/patch-test_test.sh | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)

diffs:
diff --git a/bedtools/distinfo b/bedtools/distinfo
index fa9168f1b4..9d9e55a86f 100644
--- a/bedtools/distinfo
+++ b/bedtools/distinfo
@@ -7,3 +7,4 @@ Size (bedtools-2.30.0.tar.gz) = 20639858 bytes
 SHA1 (patch-Makefile) = d21b4a69ce18eac7de59d277a03d0a5f5e2e1cb5
 SHA1 (patch-src_utils_BamTools_include_SamHeader.hpp) = 7ab168b247b5edf7f3eccd9ef7329a5e1605c787
 SHA1 (patch-src_utils_htslib_Makefile) = 8785ff3110f8df26e0cc5b2fdf1e2e02d6cdc836
+SHA1 (patch-test_test.sh) = e3a17815d6a30c17db7134613d25f08c6be3494e
diff --git a/bedtools/patches/patch-test_test.sh b/bedtools/patches/patch-test_test.sh
new file mode 100644
index 0000000000..6fb2eb00fb
--- /dev/null
+++ b/bedtools/patches/patch-test_test.sh
@@ -0,0 +1,20 @@
+$NetBSD$
+
+# Warning for impending failed tests
+
+--- test/test.sh.orig	2021-02-07 19:54:21.793084552 +0000
++++ test/test.sh
+@@ -1,5 +1,13 @@
+ set -e; # Alert user to any uncaught error
+ 
++if [ $(uname) = FreeBSD ] || [ $(uname) = NetBSD ]; then
++    if ! df | fgrep -q fdesc; then
++        echo "fdesc FS must be mounted in order to run $0."
++        echo "It uses bash process substitutions, e.g. <(ls)."
++        exit 1
++    fi
++fi
++
+ ulimit -c unlimited
+ 
+ STARTWD=$(pwd);


Home | Main Index | Thread Index | Old Index