summaryrefslogtreecommitdiff
path: root/test/run-bg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2010-10-02 22:51:38 +0200
committerDaniel Friesel <derf@finalrewind.org>2010-10-02 22:51:38 +0200
commit485d0c8c0a58b85c5c80f31627d89e3b5d449ff2 (patch)
tree7ed617eed72769306f0f7e8e4b9d9544bf8b715c /test/run-bg
parent7b86f410356941010402b2602eaf023b75438858 (diff)
Begin work on --bg tests
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}