lxc-test-apparmor: 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

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/lxc-test-apparmor - from package: lxc

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