summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/gawk/gawk-4.1.4
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/gawk/gawk-4.1.4')
-rw-r--r--meta/recipes-extended/gawk/gawk-4.1.4/run-ptest10
-rw-r--r--meta/recipes-extended/gawk/gawk-4.1.4/test-arrayind1-Remove-hashbang-line.patch30
2 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-extended/gawk/gawk-4.1.4/run-ptest b/meta/recipes-extended/gawk/gawk-4.1.4/run-ptest
new file mode 100644
index 0000000000..d23f0bf6d7
--- /dev/null
+++ b/meta/recipes-extended/gawk/gawk-4.1.4/run-ptest
@@ -0,0 +1,10 @@
1#!/bin/sh
2
3cd test
4for i in `grep -vE "@|^$|#|Gt-dummy" Maketests |awk -F: '{print $1}'`; \
5 do LC_ALL=${GAWKLOCALE:-C} LANG=${GAWKLOCALE:-C} srcdir=`pwd` AWK=gawk CMP=cmp \
6 make -f Maketests $i >$i.tmp 2>&1; \
7 grep -q "Error" $i.tmp; \
8 if [ $? -eq 0 ]; then echo "FAIL: $i"; \
9 else echo "PASS: $i"; rm -f $i.tmp; fi; \
10done
diff --git a/meta/recipes-extended/gawk/gawk-4.1.4/test-arrayind1-Remove-hashbang-line.patch b/meta/recipes-extended/gawk/gawk-4.1.4/test-arrayind1-Remove-hashbang-line.patch
new file mode 100644
index 0000000000..d4262ed0d9
--- /dev/null
+++ b/meta/recipes-extended/gawk/gawk-4.1.4/test-arrayind1-Remove-hashbang-line.patch
@@ -0,0 +1,30 @@
1From a3a3f26078223c47871c7b53e5c015ad163ae045 Mon Sep 17 00:00:00 2001
2From: Fabio Berton <fabio.berton@ossystems.com.br>
3Date: Thu, 3 Nov 2016 14:50:52 -0200
4Subject: [PATCH] test/arrayind1: Remove hashbang line
5Organization: O.S. Systems Software LTDA.
6
7Remove "#!/usr/local/bin/awk -f" as none of the other awk scripts in the
8test suite have a hashbang.
9
10Upstream-Status: Submitted [1]
11
12[1] https://lists.gnu.org/archive/html/bug-gawk/2016-11/msg00003.html
13
14Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
15---
16 test/arrayind1.awk | 1 -
17 1 file changed, 1 deletion(-)
18
19diff --git a/test/arrayind1.awk b/test/arrayind1.awk
20index 5d4a6f3..59e8b4e 100755
21--- a/test/arrayind1.awk
22+++ b/test/arrayind1.awk
23@@ -1,4 +1,3 @@
24-#!/usr/local/bin/awk -f
25 # this script renums pedigrees with metafounders
26 # so that they are added *before*regular animals
27 # mf are ascertained because they are not in the 1st column
28--
292.1.4
30