summaryrefslogtreecommitdiff
path: root/test/feh.t
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-02-04 20:51:30 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-02-04 20:55:34 +0100
commitf903ef2113601a7bdb0c8bb841471d6718c57077 (patch)
tree22d2d7928d1b60599865b1d25ae5293e89c211dc /test/feh.t
parente7b88aa75411d51a20660c89c3947ed336d10a1f (diff)
Hi, I'd like one bugfix release to go please!
Diffstat (limited to 'test/feh.t')
-rw-r--r--test/feh.t14
1 files changed, 12 insertions, 2 deletions
diff --git a/test/feh.t b/test/feh.t
index a9d2a04..d8e5e3f 100644
--- a/test/feh.t
+++ b/test/feh.t
@@ -115,8 +115,18 @@ $cmd = Test::Command->new(
cmd => "$feh --list --recursive --sort filename test/ok" );
$cmd->exit_is_num(0);
-$cmd->stdout_is_file('test/list/filename_recursive');
-$cmd->stderr_is_eq('');
+
+# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812657
+# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813729
+if ( -e '/etc/debian_version' and qx{imlib2-config --version} eq "1.4.7\n" ) {
+ # dummy tests to match number of planned tests
+ $cmd->exit_is_num(0);
+ $cmd->exit_is_num(0);
+}
+else {
+ $cmd->stdout_is_file('test/list/filename_recursive');
+ $cmd->stderr_is_eq('');
+}
$cmd = Test::Command->new( cmd => "$feh --customlist '%f; %h; %l; %m; %n; %p; "
. "%s; %t; %u; %w' $images" );