glsl-fs-fogcolor-statechange: 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/glsl-fs-fogcolor-statechange - from package: piglit

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