summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-11-09 16:51:17 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-11-09 16:51:17 +0100
commit1e5a87608b94e0b456c05dc8f9dd0a49e0ece6b8 (patch)
tree6ad6c5f6f00ce88b8d5f24af4116306435700ef8
parent61f83c411202b089752f8d1002c0f325f518a4f8 (diff)
update --cycle-once -> --on-last-slide=quit in feh-i.t
-rwxr-xr-xtest/feh-i.t12
-rw-r--r--test/status2
2 files changed, 7 insertions, 7 deletions
diff --git a/test/feh-i.t b/test/feh-i.t
index ff247a2..24775e3 100755
--- a/test/feh-i.t
+++ b/test/feh-i.t
@@ -138,28 +138,28 @@ SendKeys('{RIG}');
test_win_title( $win, 'feh slideshow 2/3 jpg' );
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 ) {
SendKeys('{RIG}');
}
-test_no_win("--cycle-once -> window closed");
+test_no_win("--on-last-slide=quit -> window closed");
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'
);
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(
- '--cycle-once --slideshow-delay -0.01',
+ '--on-last-slide=quit --slideshow-delay -0.01',
'test/ok/png test/ok/jpg test/ok/gif'
);
test_win_title( $win, 'feh [1 of 3] - test/ok/png [Paused]' );
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' );
for ( 1 .. 2 ) {
diff --git a/test/status b/test/status
index 0151bcd..6db362e 100644
--- a/test/status
+++ b/test/status
@@ -82,7 +82,7 @@ Overall test status, what's covered / missing
[x] format specifiers
---cycle-once
+--on-last-slide=quit
[x] closes feh window at end of slideshow
[x] combination with --slideshow-delay