glsl-vs-if-bool: 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-vs-if-bool - from package: piglit

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