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
8ac62e20
Commit
8ac62e20
authored
Oct 02, 2014
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: Fix unpriv test
Don't use $TUSER as it's not defined. Also don't include lxc-test-usernic in extra_DIST. Signed-off-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
d9bae9c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Makefile.am
src/tests/Makefile.am
+0
-1
lxc-test-usernic.in
src/tests/lxc-test-usernic.in
+3
-3
No files found.
src/tests/Makefile.am
View file @
8ac62e20
...
...
@@ -73,7 +73,6 @@ EXTRA_DIST = \
lxc-test-autostart
\
lxc-test-ubuntu
\
lxc-test-unpriv
\
lxc-test-usernic
\
may_control.c
\
saveconfig.c
\
shutdowntest.c
\
...
...
src/tests/lxc-test-usernic.in
View file @
8ac62e20
...
...
@@ -85,9 +85,9 @@ lxc.id_map = g 0 910000 10000
EOF
if
which cgm
>
/dev/null 2>&1
;
then
cgm create all
$TUSER
cgm
chown
all
$TUSER
$(
id
-u
$TUSER
)
$(
id
-g
$TUSER
)
cgm movepid all
$TUSER
$$
cgm create all
usernic-user
cgm
chown
all
usernic-user
$(
id
-u
usernic-user
)
$(
id
-g
usernic-user
)
cgm movepid all
usernic-user
$$
elif
[
-e
/sys/fs/cgroup/cgmanager/sock
]
;
then
for
d
in
$(
cut
-d
:
-f
2 /proc/self/cgroup
)
;
do
dbus-send
--print-reply
--address
=
unix:path
=
/sys/fs/cgroup/cgmanager/sock
\
...
...
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