From cb7fb23f449246076ba2d45e3c030e14703b07c5 Mon Sep 17 00:00:00 2001 From: helly Date: Sun, 19 Feb 2006 20:15:57 +0000 Subject: [PATCH] - Switch back to 'diff -u' # diffutils from www.sunfreeware.com makes it work under slowaris too --- run_tests.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh.in b/run_tests.sh.in index 78ac7923..19011484 100644 --- a/run_tests.sh.in +++ b/run_tests.sh.in @@ -12,7 +12,7 @@ for x in @top_srcdir@/test/*.re; do difname=@builddir@/test/`basename ${x%.re}.diff` @builddir@/re2c $switches $x 2>&1 | sed -e "s,$x,`basename $x`,g" -e "s,/\* Generated by re2c .*\*/,/\* Generated by re2c \*/,g" > $outname # if diff -u -I '#line [0-9]*' ${x%.re}.c $outname > $difname; then - if diff ${x%.re}.c $outname > $difname; then + if diff -u ${x%.re}.c $outname > $difname; then echo "Passed." rm $outname else -- 2.40.0