Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
76e51854
Unverified
Commit
76e51854
authored
Dec 15, 2017
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: remove invalid parts of short lived tests
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
fdfff9a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
shortlived.c
src/tests/shortlived.c
+0
-10
No files found.
src/tests/shortlived.c
View file @
76e51854
...
@@ -162,11 +162,6 @@ int main(int argc, char *argv[])
...
@@ -162,11 +162,6 @@ int main(int argc, char *argv[])
goto
out
;
goto
out
;
}
}
if
(
!
c
->
set_config_item
(
c
,
"lxc.execute.cmd"
,
"echo hello"
))
{
fprintf
(
stderr
,
"%d: failed setting lxc.execute.cmd
\n
"
,
__LINE__
);
goto
out
;
}
c
->
want_daemonize
(
c
,
true
);
c
->
want_daemonize
(
c
,
true
);
/* Test whether we can start a really short-lived daemonized container. */
/* Test whether we can start a really short-lived daemonized container. */
...
@@ -200,11 +195,6 @@ int main(int argc, char *argv[])
...
@@ -200,11 +195,6 @@ int main(int argc, char *argv[])
goto
out
;
goto
out
;
}
}
if
(
!
c
->
set_config_item
(
c
,
"lxc.execute.cmd"
,
"you-shall-fail"
))
{
fprintf
(
stderr
,
"%d: failed setting lxc.init.cmd
\n
"
,
__LINE__
);
goto
out
;
}
/* Test whether we can start a really short-lived daemonized container. */
/* Test whether we can start a really short-lived daemonized container. */
for
(
i
=
0
;
i
<
10
;
i
++
)
{
for
(
i
=
0
;
i
<
10
;
i
++
)
{
if
(
c
->
startl
(
c
,
0
,
NULL
))
{
if
(
c
->
startl
(
c
,
0
,
NULL
))
{
...
...
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