rg-teximage-01: 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-teximage-01 - from package: piglit

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