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

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