#!/bin/sh

Xephyr -screen 500x500 :7 > /dev/null 2>&1 &
pid=${!}

DISPLAY=:7 prove test/feh-scr.i test/feh.i
ret=${?}

kill ${pid}

sleep 2

exit ${ret}