fix ktest colorful output printing for non-ANSI terminals (issue #368)
Merge pull request #379 from osa1/ktest-fixcolors

fix ktest colorful output printing for non-ANSI terminals (issue #368)