Ignore spaces when reporting regression failures.
authorBruce Momjian
Fri, 28 Aug 1998 14:17:57 +0000 (14:17 +0000)
committerBruce Momjian
Fri, 28 Aug 1998 14:17:57 +0000 (14:17 +0000)
src/test/regress/regress.sh

index 488dab8c36fdab3f5e0ac49074433a5712dec453..8e74b0402c9aec96c9780bb225737a49d26cb3fc 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.20 1998/07/26 04:31:41 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.21 1998/08/28 14:17:57 momjian Exp $
 #
 if echo '\c' | grep -s c >/dev/null 2>&1
 then
@@ -58,7 +58,7 @@ do
        EXPECTED="expected/${i}.out"
    fi
   
-   if [ `diff ${EXPECTED} results/${i}.out | wc -l` -ne 0 ]
+   if [ `diff -w ${EXPECTED} results/${i}.out | wc -l` -ne 0 ]
    then
        ( diff -wC3 ${EXPECTED} results/${i}.out; \
        echo "";  \