draw-arrays-colormaterial: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/lib64/piglit/bin/draw-arrays-colormaterial - from package: piglit

You may install the required package with command yum install {package}
Error in other languages:
draw-arrays-colormaterial: bevel nie gevind nie
draw-arrays-colormaterial: comandă negăsită
draw-arrays-colormaterial: comando não encontrado
draw-arrays-colormaterial: commande introuvable
draw-arrays-colormaterial: command not found
draw-arrays-colormaterial: käsku ei ole
draw-arrays-colormaterial: không tìm thấy lệnh
draw-arrays-colormaterial: komanda nerasta
draw-arrays-colormaterial: Kommando nicht gefunden.
draw-arrays-colormaterial: kommandot finns inte
draw-arrays-colormaterial: komut yok
draw-arrays-colormaterial: nie znaleziono polecenia
draw-arrays-colormaterial: níor aimsíodh an t-ordú
draw-arrays-colormaterial: no se encontró la orden
draw-arrays-colormaterial: no s'ha trobat l'ordre
draw-arrays-colormaterial: opdracht niet gevonden
draw-arrays-colormaterial: parancs nem található
draw-arrays-colormaterial: perintah tidak ditemukan
draw-arrays-colormaterial: príkaz nenájdený
draw-arrays-colormaterial: příkaz nenalezen
draw-arrays-colormaterial: команда не найдена
draw-arrays-colormaterial: командата не е открита
draw-arrays-colormaterial: 命令找不到
draw-arrays-colormaterial: コマンドが見つかりません