max-texture-size: 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/max-texture-size - from package: piglit

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