From Fedora Project Wiki
Description
This test aims to verify that non-interactive batch commands work
Setup
Follow the VirtSandbox common setup
How to test
- Run the 'date' command
- # virt-sandbox -c $URI /bin/date
- Run the 'rev' command
- # echo "Hello World" | virt-sandbox -c $URI /usr/bin/rev
- 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
- Today's date is printed
- Fri Apr 13 14:22:32 BST 2012
- The string 'Hello World' is reversed
- dlroW olleH
- The original & processed files do not differ