diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2022-05-19 17:19:24 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-05-19 17:19:24 +0200 |
commit | c6fb1f2f80a72d3a82c0d47282a62833960207d6 (patch) | |
tree | 23e8136465ae5cc76149bd831e937fd6d3fb4208 /tests/setup_desktop_test | |
parent | 7231208d8ae2495bd52b241403c728b1c0c29895 (diff) | |
download | alpine-conf-c6fb1f2f80a72d3a82c0d47282a62833960207d6.zip |
tests: add test for setup-desktop gnome
Diffstat (limited to 'tests/setup_desktop_test')
-rwxr-xr-x | tests/setup_desktop_test | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/setup_desktop_test b/tests/setup_desktop_test index 87b9ba4..8166c2a 100755 --- a/tests/setup_desktop_test +++ b/tests/setup_desktop_test @@ -4,7 +4,8 @@ init_tests \ setup_desktop_usage \ setup_desktop_unsupported \ - setup_desktop_xfce + setup_desktop_xfce \ + setup_desktop_gnome setup_desktop_usage_body() { test_usage setup-desktop @@ -27,3 +28,12 @@ setup_desktop_xfce_body() { setup-desktop xfce } +setup_desktop_gnome_body() { + init_env + atf_check -s exit:0 \ + -o match:"apk add.*gnome" \ + -o match:"Starting udev" \ + -e match:"WARNING: You need to create a user account" \ + setup-desktop gnome +} + |