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

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