Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1ef1a210
Commit
1ef1a210
authored
Dec 11, 1998
by
Marcus Meissner
Committed by
Alexandre Julliard
Dec 11, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kill swapped out (wine) processes too and truncate diff after some xxx
lines.
parent
a975da05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
testrun
tools/testrun
+2
-2
No files found.
tools/testrun
View file @
1ef1a210
...
...
@@ -150,7 +150,7 @@ sub kill_subprocesses {
# kill all subprocesses called 'wine'. Do not kill find, diff, sh
# and friends, which are also subprocesses of us.
foreach
(
keys
%
kids
)
{
next
unless
(
$cmdline
{
$_
}
=~
/(wine|dosmod)/
);
next
unless
(
$cmdline
{
$_
}
=~
/(
(.|)
wine|dosmod)/
);
# if we have already killed it using -TERM, use -KILL
if
(
$killedalready
{
$_
})
{
kill
(
9
,
$_
);
# FIXME: use correct number?
...
...
@@ -250,7 +250,7 @@ while ($exe=<FIND>) {
alarm
(
1000
);
# so it doesn't trigger in the diff, kill or find.
system
(
"touch $cwd/runs/${runfile}.out"
);
system
(
"$diff $cwd/runs/${runfile}.out $cwd/${runfile}.out"
);
system
(
"$diff $cwd/runs/${runfile}.out $cwd/${runfile}.out
|head -$trunclines
"
);
system
(
"head -$trunclines $cwd/${runfile}.out >$cwd/runs/${runfile}.out"
);
unlink
(
"$cwd/${runfile}.out"
);
&
kill_subprocesses
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment