ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/fbintf/testsuite/runtest.sh
(Generate patch)

Comparing ibx/trunk/fbintf/testsuite/runtest.sh (file contents):
Revision 315 by tony, Thu Feb 25 11:56:36 2021 UTC vs.
Revision 402 by tony, Mon Aug 1 10:07:24 2022 UTC

# Line 10 | Line 10 | EMPLOYEEDB=employee
10   NEWDBNAME=$TESTOUTDIR/testsuite1.fdb
11   NEWDBNAME2=$TESTOUTDIR/testsuite2.fdb
12   BAKFILE=$TESTOUTDIR/testsuite.gbk
13 + if [ -z "$FPC" ]; then
14 +  export FPC=fpc
15 + fi
16  
17   cd `dirname $0`
18   mkdir -p $TESTOUTDIR
19   chmod 777 $TESTOUTDIR
20 < export FPCDIR=/usr/lib/fpc/`fpc -iV`
20 > export FPCDIR=/usr/lib/fpc/`$FPC -iV`
21   fpcmake
22   make clean
23   make
# Line 26 | Line 29 | if [ -x testsuite ]; then
29    echo "Starting Testsuite"
30    echo ""
31    ./testsuite -u $USERNAME -p $PASSWORD -e $EMPLOYEEDB -n $NEWDBNAME -s $NEWDBNAME2 -b $BAKFILE -o testout.log $@
32 +  #normalise data/time
33 +  sed -i 's|Timestamp = [0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9].[0-9][0-9][0-9][0-9]|Timestamp = yyyy/mm/dd hh:mm:ss.zzzz|' testout.log
34    echo "Comparing results with reference log"
35    echo ""
36    if grep 'ODS Major Version = 11' testout.log >/dev/null; then

Comparing ibx/trunk/fbintf/testsuite/runtest.sh (property svn:eol-style):
Revision 315 by tony, Thu Feb 25 11:56:36 2021 UTC vs.
Revision 402 by tony, Mon Aug 1 10:07:24 2022 UTC

# Line 0 | Line 1
1 + native

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines