From Fedora Project Wiki

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

This test aims to verify that non-interactive batch commands work

Setup

Follow the VirtSandbox common setup

How to test

  1. Run the 'date' command
    # virt-sandbox -c $URI /bin/date
  2. Run the 'rev' command
    # echo "Hello World" | virt-sandbox -c $URI /usr/bin/rev
  3. Compress and decompress a large file and verify result
    # virt-sandbox -c $URI /usr/bin/gzip < /lib64/libc.so.6 | gunzip -c > libc.so.6
    # diff libc.so.6 /lib64/libc.so.6

Expected Results

  1. Today's date is printed
    Fri Apr 13 14:22:32 BST 2012
  2. The string 'Hello World' is reversed
    dlroW olleH
  3. The original & processed files do not differ