From Fedora Project Wiki

Revision as of 21:44, 14 September 2016 by Mattdm (talk | contribs) (Created page with "{{QA/Test_Case |description=Run the standard regression tests bundled with the Calc command-line calculator |setup=You'll need a shell. |actions= # Install the <tt>calc</tt> p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Run the standard regression tests bundled with the Calc command-line calculator

Setup

You'll need a shell.

How to test

  1. Install the calc package and the optional calc-stdrc subpackage.
  2. Run calc -q read /usr/share/calc/regress.cal. (The -q option prevents any startup scripts in your environment from interfering.
  3. Wait.

Expected Results

  1. A large number of tests will go by. This should take about three seconds.
  2. You should see the line 9997: passed all tests /\../\
  1. And then the line 9998: freeglobals()
  2. and finally, 9999: Ending regression tests