qmgr/tests: Make sure return values are used (LLVM/Clang).