diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-01 13:03:10 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-01 13:03:10 +0200 |
commit | a89887134a7de40c6b6e4f9f4b76ac924c03caf8 (patch) | |
tree | 019a39defc90d7fab3ffd522fb0232848327a9e7 /test | |
parent | 1acaa6acec9ef8736fd55b26d84e21d6088746d9 (diff) | |
download | feh-a89887134a7de40c6b6e4f9f4b76ac924c03caf8.zip |
test/feh.t: Unset DISPLAY to make sure it works without X
Diffstat (limited to 'test')
-rw-r--r-- | test/feh.t | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |