summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-02-02 20:34:34 +0100
committerDaniel Friesel <derf@finalrewind.org>2012-02-02 20:34:34 +0100
commit03eb45b2ea99d964db3b01f2703315c8a2b2a038 (patch)
tree0a61439e07847fda98e16193d0305d75e2b4bc38 /test
parent2c773b0a4815461bd3c7a8fb1b2ce40a8d8c71f6 (diff)
Accept offset-only arguments for --geometry (closes #73)
Diffstat (limited to 'test')
-rwxr-xr-xtest/feh-scr.i9
-rw-r--r--test/scr/geometry_offset_onlybin0 -> 570 bytes
2 files changed, 8 insertions, 1 deletions
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/;
@@ -195,6 +195,13 @@ 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
--- /dev/null
+++ b/test/scr/geometry_offset_only
Binary files differ