mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 14:07:55 +00:00
Passes unittest
This commit is contained in:
parent
e63e97916c
commit
77f0254543
|
@ -42,6 +42,8 @@ def 3
|
||||||
30
|
30
|
||||||
30
|
30
|
||||||
### Test --debug
|
### 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
|
mysql -C --host=localhost --user=sqlunittest --port=3306 --password=CB5A1FFFA5A sqlunittest
|
||||||
Test if --debug works
|
Test if --debug works
|
||||||
Yes it does
|
Yes it does
|
||||||
|
@ -49,6 +51,8 @@ Yes it does
|
||||||
7 43 306
|
7 43 306
|
||||||
7 43 306
|
7 43 306
|
||||||
### Test -r
|
### 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 -h 127.0.0.3 -U nongood -p 2227
|
||||||
psql: could not connect to server: Connection refused
|
psql: could not connect to server: Connection refused
|
||||||
Is the server running on host "127.0.0.3" and accepting
|
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
|
Is the server running on host "127.0.0.3" and accepting
|
||||||
TCP/IP connections on port 2227?
|
TCP/IP connections on port 2227?
|
||||||
### Test --retries=s
|
### 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 -h 127.0.0.3 -U nongood -p 2227
|
||||||
psql: could not connect to server: Connection refused
|
psql: could not connect to server: Connection refused
|
||||||
Is the server running on host "127.0.0.3" and accepting
|
Is the server running on host "127.0.0.3" and accepting
|
||||||
|
|
|
@ -9,6 +9,9 @@ Test if .sql/aliases with %-quoting works
|
||||||
Yes it works
|
Yes it works
|
||||||
### Test cyclic alias .sql/aliases
|
### Test cyclic alias .sql/aliases
|
||||||
:cyclic3 is a cyclic alias
|
:cyclic3 is a cyclic alias
|
||||||
|
### Test alias with statement .sql/aliases
|
||||||
|
Test statement in alias
|
||||||
|
It works
|
||||||
### Test empty dburl
|
### Test empty dburl
|
||||||
Error:
|
Error:
|
||||||
is not a valid DBURL
|
is not a valid DBURL
|
||||||
|
|
Loading…
Reference in a new issue