summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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.