From 88f99155776b93ca40b904cf3328f3613ec1bea4 Mon Sep 17 00:00:00 2001 From: David Rheinsberg Date: Sat, 29 Feb 2020 12:11:54 +0100 Subject: [PATCH] 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. --- test/os-release/arch | 10 ++++++++++ test/os-release/linux | 0 2 files changed, 10 insertions(+) create mode 100644 test/os-release/arch create mode 100644 test/os-release/linux diff --git a/test/os-release/arch b/test/os-release/arch new file mode 100644 index 00000000..560b8ae4 --- /dev/null +++ b/test/os-release/arch @@ -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 diff --git a/test/os-release/linux b/test/os-release/linux new file mode 100644 index 00000000..e69de29b