Commit bd537196 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Add tests for --image-bg

parent f75aea0e
Loading
Loading
Loading
Loading

test/bg/transparency

0 → 100644
+4.29 KiB

File added.

No diff preview for this file type.

+16 −1
Original line number Diff line number Diff line
@@ -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');

test/scr/feh_ibg_black

0 → 100644
+9.3 KiB

File added.

No diff preview for this file type.

+10.6 KiB

File added.

No diff preview for this file type.

test/scr/feh_ibg_white

0 → 100644
+8.43 KiB

File added.

No diff preview for this file type.