From Fedora Project Wiki

(Created page with 'Setup: a healthy guest, which is in shutoff Actions: 1. dump guest's xml # virsh dumpxml toy > toy.xml 2. insert following xml into node "<device>" <souce model="...')
 
(Use QA Test Case Template, move into category)
 
Line 1: Line 1:
Setup:
{{QA/Test_Case
|description='''FIXME'''
|setup=
# Prepare a healthy guest, which is in shutoff
|actions
# dump guest's xml
#: <pre>
#: virsh dumpxml toy > toy.xml</pre>
# insert following xml into node ''<device>''
#: <pre>
#: <sound model="ac97"/></pre>
# undefine & define the guest named ''toy''
#: <pre>
#: virsh undefine toy
#: virsh define toy.xml</pre>
# start guest, and login into it to do check like following:
#: <pre>
#: lspci | grep -i ac</pre>
# download a multi-media file, install {{package|totem}} or such other multi-media player to play the file we downloaded to see if there is sound.
# Repeat the previous steps using the following devices
## ''<sound model="es1370"/>''
## ''<sound model="pcspk"/>''
## ''<sound model="sb16"/>''
|results=
# All commands will complete without error
# The guest will display the expected PCI device when running the command {{command|lspci}}.  For example, for the device ''<souce model="ac97"/>'' will should see output similar to:
#: <pre>
#: 00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)</pre>
# For each device tested, playing the sound file works as expected
}}


a healthy guest, which is in shutoff
__NOTOC__
[[Category:libvirt VNC Resource Tunnel Test Cases]]
Actions:
 
1. dump guest's xml
 
  # virsh dumpxml toy > toy.xml
 
 
2. insert following xml into node "<device>"
 
  <souce model="ac97"/>
 
 
3. undefine & define
 
  # virsh undefine toy
 
    # virsh define toy.xml
 
 
4. start guest, and login into it to do check like following:
 
    1>. # lspci | grep -i ac
 
 
5. download a multi-media file, install mplayer or such other multi-media player to play the file we downloaded to see if there is sound.
 
 
6. loop upper steps with:
 
    1>. <sound model="es1370"/>
 
    2>. <sound model="pcspk"/>
 
    3>. <sound model="sb16"/>
 
Expected Results:
 
Step 4:
 
        will get output like:
 
        00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)
 
 
Step 5:
 
        will get sound.

Latest revision as of 18:28, 7 April 2010

Description

FIXME

Setup

  1. Prepare a healthy guest, which is in shutoff

How to test

  1. Start here ...
  2. Next do this ...
  3. Finally click that

Expected Results

  1. All commands will complete without error
  2. The guest will display the expected PCI device when running the command lspci. For example, for the device <souce model="ac97"/> will should see output similar to:
    00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)
  3. For each device tested, playing the sound file works as expected