Commit 5e604014 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

test-x11: Switch to Xephyr

parent 2bedd7b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ Requires
 * import (usually supplied by imagemagick)
 * perl >= 5.10 with GD, Test::More and X11::GUITest
 * twm
 * Xnest
 * Xephyr

$ make test-x11

+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ sub check_bg {
}

if (($pid_xnest = fork()) == 0) {
	exec(qw( Xnest -geometry 500x500 :7 ));
	exec(qw( Xephyr -screen 500x500 :7 ));
}

sleep(0.5);
+1 −1
Original line number Diff line number Diff line
#!/bin/sh

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

DISPLAY=:7 prove test/feh-scr.i test/feh.i