Package: recutils / 1.7-1.1

make-check.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From: Jose E. Marchesi <jemarch@gnu.org>
Subject: fix make -j check
Origin: upstream, http://git.savannah.gnu.org/cgit/recutils.git/commit/?id=46557485cfbd0a1e9d93a0eb463663112c7801d2

--- recutils-1.7.orig/torture/utils/recins.sh
+++ recutils-1.7/torture/utils/recins.sh
@@ -111,7 +111,7 @@ test_declare_input_file external-descrip
 ' 
 
 test_declare_input_file external-descriptor \
-'%rec: Patata external-descriptor-types.in
+'%rec: Patata recins-external-descriptor-types.in
 
 foo: 10
 '
@@ -351,7 +351,7 @@ test_tool recins-external-descriptor ok
           recins \
           '-t Patata -f foo -v 20' \
           external-descriptor \
-'%rec: Patata external-descriptor-types.in
+'%rec: Patata recins-external-descriptor-types.in
 
 foo: 10
 
--- recutils-1.7.orig/torture/utils/testutils.sh
+++ recutils-1.7/torture/utils/testutils.sh
@@ -33,7 +33,7 @@ test_declare_input_file ()
         exit 1
     fi
 
-    filename="$1.in"
+    filename="${test_suite}-$1.in"
     contents="$2"
 
     # Create the input file.
@@ -140,7 +140,7 @@ test_tool ()
     status=$2
     utility=$3$EXEEXT
     parameters=$4
-    input_file="$5.in"
+    input_file="${test_suite}-$5.in"
     ok_file="$1.ok"
     output_file="$1.out"
     error_file="$1.err"