Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
derf
feh
Commits
1e5a8760
Commit
1e5a8760
authored
6 years ago
by
Birte Kristina Friesel
Browse files
Options
Downloads
Patches
Plain Diff
update --cycle-once -> --on-last-slide=quit in feh-i.t
parent
61f83c41
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/feh-i.t
+6
-6
6 additions, 6 deletions
test/feh-i.t
test/status
+1
-1
1 addition, 1 deletion
test/status
with
7 additions
and
7 deletions
test/feh-i.t
+
6
−
6
View file @
1e5a8760
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
test/status
+
1
−
1
View file @
1e5a8760
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment