From Fedora Project Wiki
m (Y C) |
No edit summary |
||
Line 14: | Line 14: | ||
# and finally, <tt>9999: Ending regression tests</tt> | # and finally, <tt>9999: Ending regression tests</tt> | ||
}} | }} | ||
Note that test suite failure will '''''not''''' cause the calc command to exit with an error code. | |||
[[Category:Test_Cases|C]] | [[Category:Test_Cases|C]] | ||
[[Category:Package_calc_test_cases]] | [[Category:Package_calc_test_cases]] |
Revision as of 22:02, 7 March 2017
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
Note that test suite failure will not cause the calc command to exit with an error code.