test: convert os-release-tests to test-data
Use the new `locate_test_data()` helper to get access to test-data. Guard the test with `have_test_data()` to skip it in case test-data access is not available.
This commit is contained in:
parent
5c0e6f5964
commit
b830bb7480
10 changed files with 5 additions and 2 deletions
21
test/data/os-release/fedora32
Normal file
21
test/data/os-release/fedora32
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
NAME=Fedora
|
||||
VERSION="32 (Workstation Edition)"
|
||||
ID=fedora
|
||||
VERSION_ID=32
|
||||
VERSION_CODENAME=""
|
||||
PLATFORM_ID="platform:f32"
|
||||
PRETTY_NAME="Fedora 32 (Workstation Edition)"
|
||||
ANSI_COLOR="0;34"
|
||||
LOGO=fedora-logo-icon
|
||||
CPE_NAME="cpe:/o:fedoraproject:fedora:32"
|
||||
HOME_URL="https://fedoraproject.org/"
|
||||
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/%{doc_version}/system-administrators-guide/"
|
||||
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
|
||||
BUG_REPORT_URL="https://bugzilla.redhat.com/"
|
||||
REDHAT_BUGZILLA_PRODUCT="Fedora"
|
||||
REDHAT_BUGZILLA_PRODUCT_VERSION=32
|
||||
REDHAT_SUPPORT_PRODUCT="Fedora"
|
||||
REDHAT_SUPPORT_PRODUCT_VERSION=32
|
||||
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
|
||||
VARIANT="Workstation Edition"
|
||||
VARIANT_ID=workstation
|
||||
Loading…
Add table
Add a link
Reference in a new issue