1
0
Fork 0

Adding upstream version 1.24.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 18:56:31 +01:00
parent 94e3fc38e7
commit d7573acbf5
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
26 changed files with 565 additions and 169 deletions

View file

@ -0,0 +1,35 @@
Feature: connect to a database:
@requires_local_db
Scenario: run mycli on localhost without port
When we run mycli with arguments "host=localhost" without arguments "port"
When we query "status"
Then status contains "via UNIX socket"
Scenario: run mycli on TCP host without port
When we run mycli without arguments "port"
When we query "status"
Then status contains "via TCP/IP"
Scenario: run mycli with port but without host
When we run mycli without arguments "host"
When we query "status"
Then status contains "via TCP/IP"
@requires_local_db
Scenario: run mycli without host and port
When we run mycli without arguments "host port"
When we query "status"
Then status contains "via UNIX socket"
Scenario: run mycli with my.cnf configuration
When we create my.cnf file
When we run mycli without arguments "host port user pass defaults_file"
Then we are logged in
Scenario: run mycli with mylogin.cnf configuration
When we create mylogin.cnf file
When we run mycli with arguments "login_path=test_login_path" without arguments "host port user pass defaults_file"
Then we are logged in