summaryrefslogtreecommitdiff
path: root/test/feh-scr.i
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2010-10-05 18:33:24 +0200
committerDaniel Friesel <derf@finalrewind.org>2010-10-05 18:33:24 +0200
commitbd537196e67bf71ddacfbbb8ce608344beffb80e (patch)
treecac6edd505fcbcabc14db422a51b6ce555b2846a /test/feh-scr.i
parentf75aea0e0a57a603203e6334fba4936bc5623a74 (diff)
Add tests for --image-bg
Diffstat (limited to 'test/feh-scr.i')
-rwxr-xr-xtest/feh-scr.i17
1 files changed, 16 insertions, 1 deletions
diff --git a/test/feh-scr.i b/test/feh-scr.i
index 5067ba7..098f1c0 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 => 38;
+use Test::More tests => 42;
use Time::HiRes qw/sleep/;
use X11::GUITest qw/:ALL/;
@@ -264,6 +264,21 @@ test_scr('feh_lhi_ooo');
feh_stop();
+feh_start(q{}, 'test/bg/transparency');
+test_scr('feh_ibg_default');
+feh_stop();
+
+feh_start('--image-bg default', 'test/bg/transparency');
+test_scr('feh_ibg_default');
+feh_stop();
+
+feh_start('--image-bg black', 'test/bg/transparency');
+test_scr('feh_ibg_black');
+feh_stop();
+
+feh_start('--image-bg white', 'test/bg/transparency');
+test_scr('feh_ibg_white');
+feh_stop();
unlink('test/bg/exact/.tc/in.txt');
rmdir('test/bg/exact/.tc');