Passes unittest

This commit is contained in:
Ole Tange 2010-09-10 02:26:01 +02:00
parent e63e97916c
commit 77f0254543
2 changed files with 9 additions and 0 deletions

View file

@ -42,6 +42,8 @@ def 3
30
30
### Test --debug
dburl mysql://sqlunittest:CB5A1FFFA5A@localhost:3306/sqlunittest
databasedriver mysql user sqlunittest password CB5A1FFFA5A host localhost port 3306 database sqlunittest query
mysql -C --host=localhost --user=sqlunittest --port=3306 --password=CB5A1FFFA5A sqlunittest
Test if --debug works
Yes it does
@ -49,6 +51,8 @@ Yes it does
7 43 306
7 43 306
### Test -r
dburl pg://nongood@127.0.0.3:2227/
databasedriver pg user nongood password host 127.0.0.3 port 2227 database query
psql -h 127.0.0.3 -U nongood -p 2227
psql: could not connect to server: Connection refused
Is the server running on host "127.0.0.3" and accepting
@ -62,6 +66,8 @@ psql: could not connect to server: Connection refused
Is the server running on host "127.0.0.3" and accepting
TCP/IP connections on port 2227?
### Test --retries=s
dburl pg://nongood@127.0.0.3:2227/
databasedriver pg user nongood password host 127.0.0.3 port 2227 database query
psql -h 127.0.0.3 -U nongood -p 2227
psql: could not connect to server: Connection refused
Is the server running on host "127.0.0.3" and accepting

View file

@ -9,6 +9,9 @@ Test if .sql/aliases with %-quoting works
Yes it works
### Test cyclic alias .sql/aliases
:cyclic3 is a cyclic alias
### Test alias with statement .sql/aliases
Test statement in alias
It works
### Test empty dburl
Error:
is not a valid DBURL