-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix several issues in
/tests/discover/libraries
* Add the missing `rlPhaseEnd` which masked a failing assert * Simplify check for the `.git` suffix stripping * Modify pattern check for `dnf5` commands The `.git` suffix test case was exercising too much, including handling recommends covered by `/tests/prepare/recommend`. Also renamed to use dashes consistently.
- Loading branch information
Showing
4 changed files
with
39 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
summary: Check libraries can end in '.git' suffix | ||
description: | ||
User doesn't need to care/remember whether to use '.git' | ||
suffix or not in the 'require' or 'recommend' section - | ||
both are allowed. | ||
framework: shell | ||
test: rpm -q mariadb squid | ||
|
||
/name: | ||
summary: Require using the library name | ||
require: | ||
- library(database/mariadb) | ||
- library(squid/squid) | ||
|
||
/short: | ||
summary: Use url without the '.git' suffix | ||
require: | ||
- url: https://github.com/beakerlib/database | ||
name: /mariadb | ||
- url: https://github.com/beakerlib/squid | ||
name: /squid | ||
|
||
/long: | ||
summary: Use url without the '.git' suffix | ||
require: | ||
- url: https://github.com/beakerlib/database.git | ||
name: /mariadb | ||
- url: https://github.com/beakerlib/squid.git | ||
name: /squid |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters