mirror of
https://github.com/postgres/postgres.git
synced 2025-05-11 05:41:32 +03:00
Ignore spaces when reporting regression failures.
This commit is contained in:
parent
b686927f4b
commit
013184c882
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/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
|
if echo '\c' | grep -s c >/dev/null 2>&1
|
||||||
then
|
then
|
||||||
@ -58,7 +58,7 @@ do
|
|||||||
EXPECTED="expected/${i}.out"
|
EXPECTED="expected/${i}.out"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ `diff ${EXPECTED} results/${i}.out | wc -l` -ne 0 ]
|
if [ `diff -w ${EXPECTED} results/${i}.out | wc -l` -ne 0 ]
|
||||||
then
|
then
|
||||||
( diff -wC3 ${EXPECTED} results/${i}.out; \
|
( diff -wC3 ${EXPECTED} results/${i}.out; \
|
||||||
echo ""; \
|
echo ""; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user