summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/bg/transparencybin0 -> 4397 bytes
-rwxr-xr-xtest/feh-scr.i17
-rw-r--r--test/scr/feh_ibg_blackbin0 -> 9521 bytes
-rw-r--r--test/scr/feh_ibg_defaultbin0 -> 10808 bytes
-rw-r--r--test/scr/feh_ibg_whitebin0 -> 8635 bytes
5 files changed, 16 insertions, 1 deletions
diff --git a/test/bg/transparency b/test/bg/transparency
new file mode 100644
index 0000000..1d4a171
--- /dev/null
+++ b/test/bg/transparency
Binary files differ
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');
diff --git a/test/scr/feh_ibg_black b/test/scr/feh_ibg_black
new file mode 100644
index 0000000..04f1364
--- /dev/null
+++ b/test/scr/feh_ibg_black
Binary files differ
diff --git a/test/scr/feh_ibg_default b/test/scr/feh_ibg_default
new file mode 100644
index 0000000..d0555fa
--- /dev/null
+++ b/test/scr/feh_ibg_default
Binary files differ
diff --git a/test/scr/feh_ibg_white b/test/scr/feh_ibg_white
new file mode 100644
index 0000000..70138ff
--- /dev/null
+++ b/test/scr/feh_ibg_white
Binary files differ