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

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