ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/branches/udr/udr/testsuite/udrlib/dotests.sh
Revision: 373
Committed: Thu Jan 6 14:14:57 2022 UTC (2 years, 3 months ago) by tony
Content type: text/x-sh
File size: 685 byte(s)
Log Message:
Fixes Merged

File Contents

# Content
1 #!/bin/sh
2
3 if [ -z "$FIREBIRD" ]; then
4 echo "FIREBIRD not defined"
5 exit
6 fi
7
8 $FIREBIRD/bin/isql -user SYSDBA -pass masterkey employee <<EOT
9 Select MyRowCount('EMPLOYEE') from RDB\$Database;
10 Select MyRowCount('DEPARTMENT') from RDB\$Database;
11 select MyRowCount('BAD') from RDB\$Database;
12 Select UDRINFO() from RDB\$Database;
13 Execute Procedure MYTESTPROC(24);
14 Select * From MySelectProc;
15 Select Text From MyReadText('dropdefs.sh');
16 Update EMPLOYEE Set PHONE_EXT = '999' Where EMP_NO = 2;
17 Select PHONE_EXT,PREVIOUS_PHONE_EXT FROM EMPLOYEE Where EMP_NO = 2;
18 Update EMPLOYEE Set PHONE_EXT = '250' Where EMP_NO = 2;
19 Select PHONE_EXT,PREVIOUS_PHONE_EXT FROM EMPLOYEE Where EMP_NO = 2;
20 EOT