QA:Testcase thermostat stand-alone commands

From FedoraProject

Jump to: navigation, search

Contents

Description

This test case tests if stand-alone commands work OK. Note that these stand-alone commands can also be used in the thermostat interactive shell.

Setup

  1. Boot into the machine/VM you wish to test.
  2. If thermostat is not installed yet, install thermostat.
  3. Start the thermostat service: thermostat service &

How to test

  1. For every stand-alone command (dump-heap, find-objects, find-root, list-heap-dumps, object-info, save-heap-dump-to-file, show-heap-histogram, vm-info and vm-stat) do the following:
    1. Self-learn how the command is supposed to be used: thermostat help <name-of-command>. Alternatively run the command without any option.
    2. Run the command via thermostat <name-of-command>
  2. The first seven commands are related to heaps. The last two give you information on a particular JVM (vm-info) or provide statistics about this JVM (vm-stat)

Expected Results

  1. For all commands help information should be available and should not fail in an unexpected way.