summaryrefslogtreecommitdiff
path: root/textproc/libtre/files/patch-tests+agrep+run-tests.sh
blob: bcd3c36615e5f009b30a89e51821ff2e3fc66958 (plain) (blame)
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
--- tests/agrep/run-tests.sh.orig	2006-12-08 14:07:03.000000000 -0500
+++ tests/agrep/run-tests.sh	2008-08-05 09:56:07.263599354 -0400
@@ -2,7 +2,7 @@
 
 set -e
 
-agrep="$top_builddir/src/agrep"
+agrep="$top_builddir/src/tre_agrep"
 
 echo "$builddir $top_builddir $srcdir"
 
@@ -41,10 +41,10 @@
       # different platforms with regards to expanding \n (IRIX expands
       # it, others typically do not).  `cat' doesn't process its output.
       cat >> $out <<EOF
-#### TEST: agrep $extra $arg $input
+#### TEST: tre_agrep $extra $arg $input
 EOF
       cat <<EOF
-agrep $extra $arg $input
+tre_agrep $extra $arg $input
 EOF
       set +e
       $agrep $extra $arg $input >> $out
@@ -57,10 +57,10 @@
 
       num_expanded=`expr $num_expanded + 1`
       cat >> $out <<EOF
-#### TEST: agrep $extra $arg < $input
+#### TEST: tre_agrep $extra $arg < $input
 EOF
       cat <<EOF
-agrep $extra $arg < $input
+tre_agrep $extra $arg < $input
 EOF
       set +e
       $agrep $extra $arg < $input >> $out