summaryrefslogtreecommitdiff
path: root/test/run-bg
blob: ee4dee539bb3960147f019c9c68ee91ae7a42838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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
ret=${?}

kill ${pid}

exit ${ret}