selftests/futex: Check ANSI terminal color support
authorSeongJae Park <sj38.park@gmail.com>
Sun, 2 Oct 2016 02:02:18 +0000 (11:02 +0900)
committerShuah Khan <shuahkh@osg.samsung.com>
Tue, 11 Oct 2016 13:38:36 +0000 (07:38 -0600)
commitfecf861e765b2f9ce1a0487c3940afaed80ef7a8
treed79eebc2e7d30e0b2f8899978d633139442028ff
parentf59c668c0b898bbeba7179cd34e38a53e2f86c42
selftests/futex: Check ANSI terminal color support

Because test for color support of the running shell does not aware ANSI
type terminals, it does not print colorful messages on some environemnt.
This commit modifies the test to aware ANSI type terminal, too.

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/futex/functional/run.sh
tools/testing/selftests/futex/run.sh