summaryrefslogtreecommitdiff
path: root/test/run-bg
diff options
context:
space:
mode:
Diffstat (limited to 'test/run-bg')
-rwxr-xr-xtest/run-bg11
1 files changed, 11 insertions, 0 deletions
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}