Red Hat Bugzilla – Bug 448679
Text-mode results output format
Last modified: 2008-07-10 08:26:50 EDT
Description of problem:
The test header format, with "Test name: ..." on the left and "Test result: " on
the right does not quite feel right to me:
- A spartan "suid: OK" would convey the same information in two words - although
that's perhaps too terse.
- Although matching the left and right side of the row with eyes is not too
difficult, it does feel somewhat inconvenient
- At minimum, please fix the text width computation used for right-aligning the
test result string to correctly handle non-ASCII characters (ideally using
wcwidth() or an equivalent)
Version-Release number of selected component (if applicable):
Yes, the text interface needs an overhaul, I'm working on it now. Thank you
for reporting the bug as well as for the suggestions.
OK, this is fixed in HEAD, the current format looks like:
Running test: foobar
Error(01) All your system are belong to us
Warning(02) Some more text
Also, the messages are now printed on-the-fly, not after the whole test
finishes which makes it somewhat more convenient for tests that take a long
Fixed in sectool 0.8 which is now present in rawhide. Closing.