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

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