From 485d0c8c0a58b85c5c80f31627d89e3b5d449ff2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 2 Oct 2010 22:51:38 +0200 Subject: Begin work on --bg tests --- test/run-bg | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 test/run-bg (limited to 'test/run-bg') diff --git a/test/run-bg b/test/run-bg new file mode 100755 index 0000000..df5d6ac --- /dev/null +++ b/test/run-bg @@ -0,0 +1,11 @@ +#!/bin/sh + +Xnest -geometry 500x500 :7 > /dev/null 2>&1 & +pid=${!} + +# Wallpaper setting requires a window manager to work reliably +DISPLAY=:7 twm > /dev/null 2>&1 & + +DISPLAY=:7 prove -v test/feh-bg.i + +kill ${pid} -- cgit v1.2.3