tests: torture-misc: check for NULL return codes
tests: torture-misc: check for NULL return codes

Use the LOGNAME environment variable if USER is not set, as it sometimes
happens in cron jobs.

kedazo/libssh,taikoo/libssh,nviennot/libssh,nviennot/libssh,kedazo/libssh,Distrotech/libssh,sebadoom/libssh,sebadoom/libssh,sebadoom/libssh,mwgoldsmith/ssh,wangshawn/libssh,mwgoldsmith/libssh,Distrotech/libssh,pouete/libssh,sebadoom/libssh,kedazo/libssh,DouglasHeriot/libssh,mwgoldsmith/libssh,DouglasHeriot/libssh,taikoo/libssh,mwgoldsmith/libssh,DouglasHeriot/libssh,Distrotech/libssh,wangshawn/libssh,Distrotech/libssh,taikoo/libssh,kedazo/libssh,taikoo/libssh,mwgoldsmith/ssh,nviennot/libssh,mwgoldsmith/ssh,pouete/libssh,wangshawn/libssh,nviennot/libssh,pouete/libssh,mwgoldsmith/ssh,wangshawn/libssh,mwgoldsmith/libssh,pouete/libssh,DouglasHeriot/libssh