summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/futex/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/futex/run.sh')
-rwxr-xr-xtools/testing/selftests/futex/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/futex/run.sh b/tools/testing/selftests/futex/run.sh
index 4126312..88bcb17 100755
--- a/tools/testing/selftests/futex/run.sh
+++ b/tools/testing/selftests/futex/run.sh
@@ -23,7 +23,7 @@
# Test for a color capable shell and pass the result to the subdir scripts
USE_COLOR=0
-tput setf 7
+tput setf 7 || tput setaf 7
if [ $? -eq 0 ]; then
USE_COLOR=1
tput sgr0
OpenPOWER on IntegriCloud