From 03eb45b2ea99d964db3b01f2703315c8a2b2a038 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 2 Feb 2012 20:34:34 +0100 Subject: Accept offset-only arguments for --geometry (closes #73) --- test/feh-scr.i | 9 ++++++++- test/scr/geometry_offset_only | Bin 0 -> 570 bytes 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 test/scr/geometry_offset_only (limited to 'test') diff --git a/test/feh-scr.i b/test/feh-scr.i index e242a59..d6d55b1 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 => 53; +use Test::More tests => 54; use Time::HiRes qw/sleep/; use X11::GUITest qw/:ALL/; @@ -194,6 +194,13 @@ feh_start( test_scr('index_full_h400'); feh_stop(); +feh_start( + '--geometry +10+20', + 'test/ok/png' +); +test_scr('geometry_offset_only'); +feh_stop(); + feh_start( '--caption-path .tc', 'test/bg/exact/in' diff --git a/test/scr/geometry_offset_only b/test/scr/geometry_offset_only new file mode 100644 index 0000000..1f23f60 Binary files /dev/null and b/test/scr/geometry_offset_only differ -- cgit v1.2.3