Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RTEMS-build-workflows
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thanassis Tsiodras
RTEMS-build-workflows
Commits
5ab0a41b
Commit
5ab0a41b
authored
Mar 18, 2016
by
Thanassis Tsiodras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stress test to verify the two tasks don't mess each other up
parent
0a9ade6b
Pipeline
#42
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
0 deletions
+43
-0
EDISOFT/contrib/cmds
EDISOFT/contrib/cmds
+3
-0
EDISOFT/contrib/stress.pl
EDISOFT/contrib/stress.pl
+40
-0
No files found.
EDISOFT/contrib/cmds
0 → 100644
View file @
5ab0a41b
tar extended-remote localhost:1234
load fputest
c
EDISOFT/contrib/stress.pl
0 → 100755
View file @
5ab0a41b
#!/usr/bin/perl -w
use
strict
;
sub
killtree
{
my
$pid
=
shift
;
my
@children
;
open
CHL
,
"
ps -o pid= --ppid
$pid
|
";
while
(
<
CHL
>
)
{
chomp
;
push
@children
,
$_
;
}
close
CHL
;
foreach
my
$child
(
@children
)
{
killtree
(
$child
);
}
kill
(
15
,
$pid
);
}
while
(
1
)
{
my
$a
=
0
;
my
$childpid
=
open
PIPE
,
"
sparc-rtems4.8-gdb < cmds 2>&1 |
";
while
(
<
PIPE
>
)
{
print
;
if
(
/172003605/
)
{
$a
++
;
if
(
$a
==
2
)
{
last
;
}
}
if
(
/172003608/
)
{
$a
++
;
if
(
$a
==
2
)
{
last
;
}
}
}
killtree
(
$childpid
);
close
PIPE
;
}
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