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

  1. Install: su -c 'yum install vzctl'
  2. Open terminal
  3. Switch to root user: su -

How to test

  1. Create new container: vzctl create 101 --ostemplate centos-6-x86_64
  2. Start container: vzctl start 101
  3. Exec ps in container: vzctl exec 101 ps axf
  4. Enter to container: vzctl enter 101
  5. Exec ps in container directly: ps axf
  6. Exit from container: logout
  7. Suspend container: vzctl suspend 101
  8. Restore container: vzctl restore 101

Expected Results

The following must be true to consider this a successful test run. Be brief ... but explicit.

  1. Step #1 completes without error
  2. The system boots into runlevel 5
  3. Program completes with exit code 0

Optional

Optionally provide hints for exploratory testing.