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
90accff3
Unverified
Commit
90accff3
authored
Mar 29, 2021
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: add another test for garbage config key
where a valid key has trailing garbage at the end before the "=". Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
f44eb244
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
parse_config_file.c
src/tests/parse_config_file.c
+5
-0
No files found.
src/tests/parse_config_file.c
View file @
90accff3
...
...
@@ -887,6 +887,11 @@ int main(int argc, char *argv[])
return
-
1
;
}
if
(
c
->
set_config_item
(
c
,
"lxc.hook.versionasdfsadfsadf"
,
"1"
))
{
lxc_error
(
"%s
\n
"
,
"Managed to set to set invalid config item
\"
lxc.hook.versionasdfsadfsadf
\"
to
\"
2
\"
"
);
goto
non_test_error
;
}
fret
=
EXIT_SUCCESS
;
non_test_error:
...
...
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