C++DB is the database layer that was designed to work with C++CMS. This customized version is used within Ye Ol' Pi Shack.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/bash
-
-
- # This is not supported by freetds driver
- # 'odbc:DSN=MSSQL;UID=root;PWD=rootroot;@engine=mssql' \
- # 'odbc:DSN=MSSQL;UID=root;PWD=rootroot;@engine=mssql;@utf=wide' \
-
- rm Fail.txt
-
- for CS in \
- 'sqlite3:db=test.db' \
-
- do
- for OP in '' ';@use_prepared=off' ';@pool_size=8' ';@use_prepared=off;@pool_size=8'
- do
- echo $CS$OP
- if ! ./test_backend "$CS$OP" &> rep.txt
- then
- echo " ------------------ FAIL test_backend ------"
- cat rep.txt >> Fail.txt
- echo " -------------------------------------------"
- else
- echo " test_backend - OK"
- fi
- if ! ./test_basic "$CS$OP" &> rep.txt
- then
- echo " ------------------ FAIL test_basic ------"
- cat rep.txt >> Fail.txt
- echo " -------------------------------------------"
- else
- echo " test_basic - OK"
- fi
- done
- done
-
- if ! ./test_caching &> rep.txt
- then
- echo " ------------------ FAIL test_caching ------"
- cat rep.txt >> Fail.txt
- echo " -------------------------------------------"
- else
- echo " test_caching - OK"
- fi
|