degenerate-prims: 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

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

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