useshaderprogram-bad-type: 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/useshaderprogram-bad-type - from package: piglit

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