diff --git a/features/msfconsole/database_yml.feature b/features/msfconsole/database_yml.feature index ff4eb68307..3939ff6a57 100644 --- a/features/msfconsole/database_yml.feature +++ b/features/msfconsole/database_yml.feature @@ -48,7 +48,7 @@ Feature: `msfconsole` `database.yml` database: project_metasploit_framework_test username: project_metasploit_framework_test """ - When I run `msfconsole --defer-module-loads --environment test --execute-command exit --yaml command_line.yml` + When I run `msfconsole -q --defer-module-loads --environment test --execute-command exit --yaml command_line.yml` Then the output should contain "command_line_metasploit_framework_test" Scenario: Without --yaml, MSF_DATABASE_CONFIG wins @@ -82,7 +82,7 @@ Feature: `msfconsole` `database.yml` database: project_metasploit_framework_test username: project_metasploit_framework_test """ - When I run `msfconsole --defer-module-loads --environment test --execute-command exit` + When I run `msfconsole -q --defer-module-loads --environment test --execute-command exit` Then the output should contain "environment_metasploit_framework_test" Scenario: Without --yaml or MSF_DATABASE_CONFIG, ~/.msf4/database.yml wins @@ -127,7 +127,7 @@ Feature: `msfconsole` `database.yml` database: project_metasploit_framework_test username: project_metasploit_framework_test """ - When I run `msfconsole --defer-module-loads --environment test --execute-command exit` + When I run `msfconsole -q --defer-module-loads --environment test --execute-command exit` Then the output should contain "project_metasploit_framework_test" @@ -140,7 +140,7 @@ Feature: `msfconsole` `database.yml` And a mocked home directory And I cd to "../.." And the project "database.yml" does not exist - When I run `msfconsole --defer-module-loads --environment test --execute-command db_status --execute-command exit` + When I run `msfconsole -q --defer-module-loads --environment test --execute-command db_status --execute-command exit` Then the output should not contain "command_line_metasploit_framework_test" And the output should not contain "environment_metasploit_framework_test" And the output should not contain "user_metasploit_framework_test" @@ -148,6 +148,6 @@ Feature: `msfconsole` `database.yml` And the output should contain "[*] postgresql selected, no connection" Scenario: Starting `msfconsole` with a valid database.yml - When I run `msfconsole --defer-module-loads --execute-command db_status --execute-command exit` + When I run `msfconsole -q --defer-module-loads --execute-command db_status --execute-command exit` Then the output should contain "[*] postgresql connected to metasploit_framework_test"