summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/futex/functional/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/futex/functional/run.sh')
-rwxr-xr-xtools/testing/selftests/futex/functional/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/futex/functional/run.sh b/tools/testing/selftests/futex/functional/run.sh
index e87dbe2a0b0d..7ff002eed624 100755
--- a/tools/testing/selftests/futex/functional/run.sh
+++ b/tools/testing/selftests/futex/functional/run.sh
@@ -24,7 +24,7 @@
# Test for a color capable console
if [ -z "$USE_COLOR" ]; then
- tput setf 7
+ tput setf 7 || tput setaf 7
if [ $? -eq 0 ]; then
USE_COLOR=1
tput sgr0