draw-pixels: 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-pixels - from package: piglit

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