summaryrefslogtreecommitdiff
path: root/test/feh.i
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-03-12 23:38:24 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-03-12 23:38:24 +0100
commitfc9b1deb56fb26e79788ba97193097923a883a84 (patch)
treecd2e446f877f566fc5ac935e94e6b792b6dec33a /test/feh.i
parent2abc27e5243cf8d80e0942d14656ccb12cd805de (diff)
Fix segfault upon unloadable image with --title %h/%w/... (closes GH-35)
Diffstat (limited to 'test/feh.i')
-rwxr-xr-xtest/feh.i8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/feh.i b/test/feh.i
index 7ac6202..231f260 100755
--- a/test/feh.i
+++ b/test/feh.i
@@ -4,7 +4,7 @@ use warnings;
use 5.010;
use Cwd;
-use Test::More tests => 102;
+use Test::More tests => 103;
use Time::HiRes qw/sleep/;
use X11::GUITest qw/:ALL/;
@@ -445,3 +445,9 @@ ok(waitfor {
},
'disabled screen clip');
feh_stop();
+
+# GH-35 "Custom window title crashes feh on unloadable files"
+$win = feh_start('--title "feh %h"', 'test/ok/png test/fail/png test/ok/jpg');
+SendKeys('{RIG}');
+test_win_title($win, 'feh 16');
+feh_stop();