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
cbe3a58b
Commit
cbe3a58b
authored
Aug 28, 2012
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicate copy of runapitests.bash
Signed-off-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
be2e4e54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
32 deletions
+0
-32
runapitests.bash
lxc/runapitests.bash
+0
-32
No files found.
lxc/runapitests.bash
deleted
100644 → 0
View file @
be2e4e54
#!/bin/bash
cleanup
()
{
rm
-f
/etc/lxc/test-busybox.conf
rm
-f
liblxc.so.0
}
if
[
`
id
-u
`
-ne
0
]
;
then
echo
"Run as root"
exit
1
fi
cat
>
/etc/lxc/test-busybox.conf
<<
EOF
lxc.network.type=veth
lxc.network.link=lxcbr0
lxc.network.flags=up
EOF
[
-f
liblxc.so.0
]
||
ln
-s
src/lxc/liblxc.so ./liblxc.so.0
export
LD_LIBRARY_PATH
=
.
TESTS
=
"containertests locktests startone"
for
curtest
in
$TESTS
;
do
echo
"running
$curtest
"
./src/tests/
$curtest
if
[
$?
-ne
0
]
;
then
echo
"Test
$curtest
failed. Stopping"
cleanup
exit
1
fi
done
echo
"All tests passed"
cleanup
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