glsl-mat-attribute: 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/glsl-mat-attribute - from package: piglit

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