activeprogram-bad-program: 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/activeprogram-bad-program - from package: piglit

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