From Fedora Project Wiki
(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...") |
(wiki magic) |
||
Line 2: | Line 2: | ||
|description=Run the standard regression tests bundled with the Calc command-line calculator | |description=Run the standard regression tests bundled with the Calc command-line calculator | ||
|setup=You'll need a shell. | |setup=You'll need a shell. | ||
Install the packages {{package|calc}} and {{package|calc-stdrc}}. | |||
|actions= | |actions= | ||
# | # From the command line, run <tt>calc -q read /usr/share/calc/regress.cal</tt>. (The <tt>-q</tt> option prevents any startup scripts in your environment from interfering. | ||
# Wait. | # Wait. | ||
|results= | |results= |
Revision as of 21:48, 14 September 2016
Description
Run the standard regression tests bundled with the Calc command-line calculator
Setup
You'll need a shell.
Install the packages calc
and calc-stdrc
.
How to test
- From the command line, run calc -q read /usr/share/calc/regress.cal. (The -q option prevents any startup scripts in your environment from interfering.
- Wait.
Expected Results
- A large number of tests will go by. This should take about three seconds.
- You should see the line 9997: passed all tests /\../\
- And then the line 9998: freeglobals()
- and finally, 9999: Ending regression tests