geterror-invalid-enum: 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/geterror-invalid-enum - from package: piglit

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