diff options
author | Beech Rintoul <beech@FreeBSD.org> | 2008-08-07 03:59:37 +0000 |
---|---|---|
committer | Beech Rintoul <beech@FreeBSD.org> | 2008-08-07 03:59:37 +0000 |
commit | 45fe5d8fce9d82ed5551c6ae712f59133d468f97 (patch) | |
tree | 3fcc6b520e627dd145e56c6c62b1227f5392222c /textproc/libtre/files/patch-tests+agrep+run-tests.sh | |
parent | Update to 0.3.3. (diff) |
- Resolve the textproc/agrep conflict
- Add regression-test target
- Pass maintainership to submitter
PR: ports/126278
Submitted by: bf <bf2006a@yahoo.com>
Notes
Notes:
svn path=/head/; revision=218171
Diffstat (limited to 'textproc/libtre/files/patch-tests+agrep+run-tests.sh')
-rw-r--r-- | textproc/libtre/files/patch-tests+agrep+run-tests.sh | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/textproc/libtre/files/patch-tests+agrep+run-tests.sh b/textproc/libtre/files/patch-tests+agrep+run-tests.sh new file mode 100644 index 000000000000..bcd3c36615e5 --- /dev/null +++ b/textproc/libtre/files/patch-tests+agrep+run-tests.sh @@ -0,0 +1,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 |