blob: b66103527c55c08a1aab1e5e30c0f3d7bdb058c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/usr/bin/env atf-sh
. $(atf_get_srcdir)/test_env.sh
init_tests \
setup_xorg_base_usage \
setup_xorg_base
setup_xorg_base_usage_body() {
test_usage setup-xorg-base
}
setup_xorg_base_body() {
init_env
mkdir -p etc/apk
echo "https://dl-cdn.alpinelinux.org/alpine/edge/main" > etc/apk/repositories
atf_check -s exit:0 \
-o match:"apk add.*xorg-server.*foobar" \
-o match:"Starting udev" \
-e empty \
setup-xorg-base foobar
}
|