From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
# Create new container: {{command | vzctl create 101 --ostemplate centos-6-x86_64}} | # Create new container: {{command | vzctl create 101 --ostemplate centos-6-x86_64}} | ||
# Start container: {{command | vzctl start 101}} | # Start container: {{command | vzctl start 101}} | ||
# Exec ps in container: {{command | vzctl exec 101 ps axf}} | |||
# Enter to container: {{command | vzctl enter 101}} | # Enter to container: {{command | vzctl enter 101}} | ||
# Exec ps in container directly: {{command | ps axf}} | |||
# Exit from container: {{command | logout}} | |||
# Suspend container: {{command | vzctl suspend 101}} | |||
# Restore container: {{command | vzctl restore 101}} | |||
|results= | |results= | ||
The following must be true to consider this a successful test run. Be brief ... but explicit. | The following must be true to consider this a successful test run. Be brief ... but explicit. |
Revision as of 14:40, 9 July 2013
Description
A brief description of the functionality being tested.
Setup
- Install:
su -c 'yum install vzctl'
- Open terminal
- Switch to root user:
su -
How to test
- Create new container:
vzctl create 101 --ostemplate centos-6-x86_64
- Start container:
vzctl start 101
- Exec ps in container:
vzctl exec 101 ps axf
- Enter to container:
vzctl enter 101
- Exec ps in container directly:
ps axf
- Exit from container:
logout
- Suspend container:
vzctl suspend 101
- Restore container:
vzctl restore 101
Expected Results
The following must be true to consider this a successful test run. Be brief ... but explicit.
- Step #1 completes without error
- The system boots into runlevel 5
- Program completes with exit code 0
Optional
Optionally provide hints for exploratory testing.