Skip to content
Snippets Groups Projects
Commit 1e5a8760 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

update --cycle-once -> --on-last-slide=quit in feh-i.t

parent 61f83c41
No related branches found
No related tags found
No related merge requests found
...@@ -138,28 +138,28 @@ SendKeys('{RIG}'); ...@@ -138,28 +138,28 @@ SendKeys('{RIG}');
test_win_title( $win, 'feh slideshow 2/3 jpg' ); test_win_title( $win, 'feh slideshow 2/3 jpg' );
feh_stop(); feh_stop();
feh_start( '--cycle-once', 'test/ok/png test/ok/jpg' ); feh_start( '--on-last-slide=quit', 'test/ok/png test/ok/jpg' );
for ( 1 .. 2 ) { for ( 1 .. 2 ) {
SendKeys('{RIG}'); SendKeys('{RIG}');
} }
test_no_win("--cycle-once -> window closed"); test_no_win("--on-last-slide=quit -> window closed");
feh_start( feh_start(
'--cycle-once --slideshow-delay 0.5', '--on-last-slide=quit --slideshow-delay 0.5',
'test/ok/png test/ok/jpg test/ok/gif' 'test/ok/png test/ok/jpg test/ok/gif'
); );
sleep(1.5); sleep(1.5);
test_no_win('cycle-once + slideshow-delay -> window closed'); test_no_win('on-last-slide=quit + slideshow-delay -> window closed');
$win = feh_start( $win = feh_start(
'--cycle-once --slideshow-delay -0.01', '--on-last-slide=quit --slideshow-delay -0.01',
'test/ok/png test/ok/jpg test/ok/gif' 'test/ok/png test/ok/jpg test/ok/gif'
); );
test_win_title( $win, 'feh [1 of 3] - test/ok/png [Paused]' ); test_win_title( $win, 'feh [1 of 3] - test/ok/png [Paused]' );
SendKeys('h'); SendKeys('h');
test_no_win('cycle-once + negative delay + [h]'); test_no_win('on-last-slide=quit + negative delay + [h]');
$win = feh_start( q{}, 'test/ok/png test/ok/gif test/ok/gif test/ok/jpg' ); $win = feh_start( q{}, 'test/ok/png test/ok/gif test/ok/gif test/ok/jpg' );
for ( 1 .. 2 ) { for ( 1 .. 2 ) {
......
...@@ -82,7 +82,7 @@ Overall test status, what's covered / missing ...@@ -82,7 +82,7 @@ Overall test status, what's covered / missing
[x] format specifiers [x] format specifiers
--cycle-once --on-last-slide=quit
[x] closes feh window at end of slideshow [x] closes feh window at end of slideshow
[x] combination with --slideshow-delay [x] combination with --slideshow-delay
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment