ptsematest: 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 Debian possible default full paths are:

/usr/bin/ptsematest - from package: rt-tests

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