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

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