*** empty log message ***
[csql.git] / test / cache / CacheTable / test001.ksh
blob0aefaeb206eeb11974a8d970c41d5469c8696d8c
1 #!/bin/ksh
2 # Test Case
3 # 1. Check for help message: $ cachetable -?
4 echo CACHE_TABLE=true >>$CSQL_CONFIG_FILE
5 echo DSN=$DSN >>$CSQL_CONFIG_FILE
6 DS="$DSN $DBUSER $PASSWORD"
7 rm -f /tmp/csql/csqlds.conf
8 touch /tmp/csql/csqlds.conf
9 $CSQL_INSTALL_ROOT/bin/csqlds -U $DBUSER -P $PASSWORD -D $DSN -N $TDB -a
10 if [ $? -ne 0 ]
11 then
12 exit 1;
15 $CSQL_INSTALL_ROOT/bin/cachetable ?
16 if [ $? -ne 0 ]
17 then
18 exit 2;
20 rm -f /tmp/csql/csqlds.conf
21 touch /tmp/csql/csqlds.conf
22 exit 0;