test: add 2 more os-release tests
This adds two more os-release tests. One contains an empty os-release file. We verify it is correctly parsed and ends up with the default value. The second one is the official Arch Linux os-release file. We verify that we correctly end up with the rolling-release name.
This commit is contained in:
parent
53415a3cbc
commit
88f9915577
2 changed files with 10 additions and 0 deletions
10
test/os-release/arch
Normal file
10
test/os-release/arch
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
NAME="Arch Linux"
|
||||
PRETTY_NAME="Arch Linux"
|
||||
ID=arch
|
||||
BUILD_ID=rolling
|
||||
ANSI_COLOR="0;36"
|
||||
HOME_URL="https://www.archlinux.org/"
|
||||
DOCUMENTATION_URL="https://wiki.archlinux.org/"
|
||||
SUPPORT_URL="https://bbs.archlinux.org/"
|
||||
BUG_REPORT_URL="https://bugs.archlinux.org/"
|
||||
LOGO=archlinux
|
||||
0
test/os-release/linux
Normal file
0
test/os-release/linux
Normal file
Loading…
Add table
Add a link
Reference in a new issue