From 2b64734e7a51ff556326df2991d9e71dda9d2a80 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 5 Feb 2011 00:38:15 +0100 Subject: Add test for --recursive --- test/feh.t | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'test/feh.t') diff --git a/test/feh.t b/test/feh.t index c868382..67b6f36 100644 --- a/test/feh.t +++ b/test/feh.t @@ -2,7 +2,7 @@ use strict; use warnings; use 5.010; -use Test::Command tests => 60; +use Test::Command tests => 63; $ENV{HOME} = 'test'; @@ -119,6 +119,14 @@ $cmd->exit_is_num(0); $cmd->stdout_is_file('test/list/format_reverse'); $cmd->stderr_like($re_warning); +$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(''); + $cmd = Test::Command->new(cmd => "$feh --customlist '%f; %h; %l; %m; %n; %p; " . "%s; %t; %u; %w' $images"); -- cgit v1.2.3