ext_texture_array-maxlayers: 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/ext_texture_array-maxlayers - from package: piglit

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