summaryrefslogtreecommitdiff
path: root/test/feh.t
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-06-21 18:52:18 +0200
committerGitHub <noreply@github.com>2021-06-21 18:52:18 +0200
commit87d9b7edb0e348c606d0d064e8db998ee9cec208 (patch)
treed243a0815fdef1e8b10129c9eca75edaa841d507 /test/feh.t
parentbc372c8faddd396b2d07470139b62290f499881f (diff)
parent0e4592a5e39261ef02c8502f92703b128ad59ffc (diff)
Merge pull request #615 from DavidBuchanan314/master
Fix feh_is_image for tiny (<16 byte) image files
Diffstat (limited to 'test/feh.t')
-rw-r--r--test/feh.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/feh.t b/test/feh.t
index 44f705f..157125d 100644
--- a/test/feh.t
+++ b/test/feh.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
use 5.010;
-use Test::Command tests => 71;
+use Test::Command tests => 73;
$ENV{HOME} = 'test';
@@ -186,3 +186,7 @@ $cmd
$cmd->exit_is_num(0);
$cmd->stdout_is_file("test/${list_dir}/default");
$cmd->stderr_is_eq('');
+
+$cmd = Test::Command->new( cmd => "$feh --list test/tiny.pbm" );
+$cmd->exit_is_num(0);
+$cmd->stderr_is_eq('');