summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-06-01 13:03:10 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-06-01 13:03:10 +0200
commita89887134a7de40c6b6e4f9f4b76ac924c03caf8 (patch)
tree019a39defc90d7fab3ffd522fb0232848327a9e7 /test
parent1acaa6acec9ef8736fd55b26d84e21d6088746d9 (diff)
downloadfeh-a89887134a7de40c6b6e4f9f4b76ac924c03caf8.zip
test/feh.t: Unset DISPLAY to make sure it works without X
Diffstat (limited to 'test')
-rw-r--r--test/feh.t4
1 files changed, 4 insertions, 0 deletions
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.