summaryrefslogtreecommitdiff
path: root/test/feh-scr.i
diff options
context:
space:
mode:
Diffstat (limited to 'test/feh-scr.i')
-rwxr-xr-xtest/feh-scr.i44
1 files changed, 43 insertions, 1 deletions
diff --git a/test/feh-scr.i b/test/feh-scr.i
index 9696c9e..037f42c 100755
--- a/test/feh-scr.i
+++ b/test/feh-scr.i
@@ -6,7 +6,7 @@ use autodie qw/:all/;
use Cwd;
use GD qw/:DEFAULT :cmp/;
-use Test::More tests => 42;
+use Test::More tests => 48;
use Time::HiRes qw/sleep/;
use X11::GUITest qw/:ALL/;
@@ -189,6 +189,20 @@ test_scr('caption_none');
feh_stop();
feh_start(
+ '--info "echo \'%f\n%wx%h\'"',
+ 'test/bg/exact/in'
+);
+test_scr('draw_info');
+feh_stop();
+
+feh_start(
+ '--info "echo \'%f\n%wx%h\'" --draw-tinted',
+ 'test/bg/exact/in'
+);
+test_scr('draw_info_tinted');
+feh_stop();
+
+feh_start(
'--draw-actions --action8 "nrm \'%f\'"',
'test/bg/exact/in'
);
@@ -196,6 +210,13 @@ test_scr('draw_action');
feh_stop();
feh_start(
+ '--draw-actions --action8 "nrm \'%f\'" --draw-tinted',
+ 'test/bg/exact/in'
+);
+test_scr('draw_action_tinted');
+feh_stop();
+
+feh_start(
'--draw-filename',
'test/bg/exact/in'
);
@@ -203,6 +224,13 @@ test_scr('draw_filename');
feh_stop();
feh_start(
+ '--draw-filename --draw-tinted',
+ 'test/bg/exact/in'
+);
+test_scr('draw_filename_tinted');
+feh_stop();
+
+feh_start(
'--draw-filename --draw-actions --action8 "nrm \'%f\'"',
'test/bg/exact/in'
);
@@ -210,6 +238,13 @@ test_scr('draw_filename_action');
feh_stop();
feh_start(
+ '--draw-filename --draw-actions --action8 "nrm \'%f\'" --draw-tinted',
+ 'test/bg/exact/in'
+);
+test_scr('draw_filename_action_tinted');
+feh_stop();
+
+feh_start(
'--action8 "nrm \'%f\'"',
'test/bg/exact/in'
);
@@ -229,6 +264,13 @@ test_scr('draw_nothing');
feh_stop();
+feh_start(
+ '--draw-tinted',
+ 'test/bg/exact/in'
+);
+test_scr('draw_nothing');
+feh_stop();
+
feh_start(q{}, 'test/bg/large/h/in');
test_scr('feh_lhi');