Skip to content

Commit

Permalink
Reflect new message in case of no repo
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mracek authored and m-blaha committed Apr 17, 2019
1 parent 056f445 commit c3a5d89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dnf-docker-test/features/shell-6.feature
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ Feature: Testing specific dnf shell text output
When I run dnf shell command "repository disable NoSuchRepo"
Then the command stdout should match regexp "Error: Unknown repo: '.*NoSuchRepo.*'"

@bz1658579
Scenario: Installing a package with no repos enabled
Given I have dnf shell session opened with parameters "-y"
When I run dnf shell command "install NoSuchPackage"
Then the command stdout should match regexp "Error: There are no enabled repos\."
Then the command stdout should match regexp "Error: There are no enabled repositories in "/etc/yum.repos.d", "/etc/yum/repos.d", "/etc/distro.repos.d"\."

Scenario: Installing a non-existent package
Given I have dnf shell session opened with parameters "-y"
Expand Down

0 comments on commit c3a5d89

Please sign in to comment.