diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-03-12 23:38:24 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-03-12 23:38:24 +0100 |
commit | fc9b1deb56fb26e79788ba97193097923a883a84 (patch) | |
tree | cd2e446f877f566fc5ac935e94e6b792b6dec33a /test/feh.i | |
parent | 2abc27e5243cf8d80e0942d14656ccb12cd805de (diff) | |
download | feh-fc9b1deb56fb26e79788ba97193097923a883a84.zip |
Fix segfault upon unloadable image with --title %h/%w/... (closes GH-35)
Diffstat (limited to 'test/feh.i')
-rwxr-xr-x | test/feh.i | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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(); |