Package list kwindowsystem / 3007be3
Remove xephyr hack Maximiliano Curia 5 years ago
2 changed file(s) with 7 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
22 [ -e debian/tests.home ] || mkdir debian/tests.home
33 export HOME="$(pwd)/debian/tests.home"
44 mkdir "$HOME"/.config || true
5 remove_home () {
6 rm -rf debian/tests.home
7 }
8 trap remove_home EXIT
9
510 xvfb-run -a --server-args="-screen 0 1024x768x24" \
6 Xephyr -reset -br -screen 1024x768 :2 & x_pid=$!
7
8 trap "kill ${x_pid}; rm -rf debian/tests.home" EXIT
9
10 DISPLAY=:2 dbus-launch --exit-with-session debian/tests/testsuite.xsession
11 dbus-launch --exit-with-session debian/tests/testsuite.xsession
11 export LANG=C.UTF-8
22 export LC_ALL=C.UTF-8
33 openbox &
4 sleep 1
45 dh_auto_test