diff options
Diffstat (limited to 'src/pl/plpython/test.sh')
-rwxr-xr-x | src/pl/plpython/test.sh | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/pl/plpython/test.sh b/src/pl/plpython/test.sh index b5b343cac7d..7684b5953aa 100755 --- a/src/pl/plpython/test.sh +++ b/src/pl/plpython/test.sh @@ -30,8 +30,8 @@ echo -n "*** Running error handling tests." psql -q -e $DBNAME < plpython_error.sql > error.output 2>&1 echo " Done. ***" -echo -n "*** Checking the results of the feature tests" -if diff -u feature.expected feature.output > feature.diff 2>&1 ; then +echo -n "*** Checking the results of the feature tests." +if diff -c feature.expected feature.output > feature.diff 2>&1 ; then echo -n " passed!" else echo -n " failed! Please examine feature.diff." @@ -39,10 +39,9 @@ fi echo " Done. ***" echo -n "*** Checking the results of the error handling tests." -diff -u error.expected error.output > error.diff 2>&1 +if diff -c error.expected error.output > error.diff 2>&1 ; then + echo -n " passed!" +else + echo -n " failed! Please examine error.diff." +fi echo " Done. ***" -echo "*** You need to check the file error.diff and make sure that" -echo " any differences are due only to the oid encoded in the " -echo " python function name. ***" - -# or write a fancier error checker... |