From a89887134a7de40c6b6e4f9f4b76ac924c03caf8 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 1 Jun 2010 13:03:10 +0200 Subject: test/feh.t: Unset DISPLAY to make sure it works without X --- test/feh.t | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/feh.t') diff --git a/test/feh.t b/test/feh.t index 29ba144..3c80550 100644 --- a/test/feh.t +++ b/test/feh.t @@ -9,6 +9,10 @@ my $images = 'test/ok.* test/fail.*'; my ($feh_name, $feh_version) = @ENV{'PACKAGE', 'VERSION'}; +# These tests are meant to run non-interactively and without X. +# make sure they are capable of doing so. +delete $ENV{'DISPLAY'}; + my $err_no_env = <<'EOF'; Unable to determine feh PACKAGE or VERSION. -- cgit v1.2.3