-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add integration test to cover generated .repo files
This test prefetches RPM content and proceeds to generate the .repo file by using the `inject-files` command. Since the steps for this test differ from the usual, it was necessary to customize the test boilerplate to call `inject-files` without actually fully building the image, since only the contents of the generated .repo file need to be checked. Signed-off-by: Bruno Pimentel <[email protected]>
- Loading branch information
1 parent
1d13126
commit b202631
Showing
2 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
tests/integration/test_data/rpm_test_repo_file/cachi2.repo
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,10 @@ | ||
[another-repoid] | ||
baseurl=file:///tmp/rpm_test_repo_file-output/deps/rpm/x86_64/another-repoid | ||
gpgcheck=1 | ||
[cachi2-aaa000] | ||
baseurl=file:///tmp/rpm_test_repo_file-output/deps/rpm/x86_64/cachi2-aaa000 | ||
gpgcheck=1 | ||
name=Generated repository containing all packages unaffiliated with any official repository | ||
[releases] | ||
baseurl=file:///tmp/rpm_test_repo_file-output/deps/rpm/x86_64/releases | ||
gpgcheck=1 |
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