glx-query-context-info-ext: 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/glx-query-context-info-ext - from package: piglit

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