smbtorture: 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/bin/smbtorture - from package: samba4-test

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/smbtorture - from package: samba-testsuite

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