gl-3.1-draw-buffers-errors: 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/gl-3.1-draw-buffers-errors - from package: piglit

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