From Fedora Project Wiki

(stub out this page)
 
No edit summary
Line 2: Line 2:
|description=This test case verifies that statically linked binaries work correctly in a Fedora Xen DomU.
|description=This test case verifies that statically linked binaries work correctly in a Fedora Xen DomU.
|actions=
|actions=
# Do this.
# Inside the F-11 domU, run one or more statically linked binaries.  Good examples of this are lvm.static, cryptsetup, etc.
# Download this file [[File:Xen-domu-static-binary.c]] into the domU.
# Compile the program with <pre>$> gcc -o Xen-domu-static-binary Xen-domu-static-binary.c -g -O0 -static -luuid</pre>
# Run the program with <pre>$> ./Xen-domu-static-binary</pre>
# Run a mono application from the domU command-line.  Good examples of mono applications are tomboy, f-spot, and Gnome-Do.
|results=
|results=
# This should happen.
# Any static binary should run properly.
# Specifically in a 32-bit domU, a "4gb seg fixup" message may appear in dmesg; this is normal.
}}
}}
# Mono applications should correctly run.
[[Category:Virtualization XenDomU Test Cases|Static binaries]]
[[Category:Virtualization XenDomU Test Cases|Static binaries]]

Revision as of 13:36, 4 May 2009

Description

This test case verifies that statically linked binaries work correctly in a Fedora Xen DomU.


How to test

  1. Inside the F-11 domU, run one or more statically linked binaries. Good examples of this are lvm.static, cryptsetup, etc.
  2. Download this file File:Xen-domu-static-binary.c into the domU.
  3. Compile the program with
    $> gcc -o Xen-domu-static-binary Xen-domu-static-binary.c -g -O0 -static -luuid
  4. Run the program with
    $> ./Xen-domu-static-binary
  5. Run a mono application from the domU command-line. Good examples of mono applications are tomboy, f-spot, and Gnome-Do.

Expected Results

  1. Any static binary should run properly.
  2. Specifically in a 32-bit domU, a "4gb seg fixup" message may appear in dmesg; this is normal.



  1. Mono applications should correctly run.