Verify global's return value instead of checking whether the output is
empty.
Merge pull request #23 from lbsx/verity-global-return-value

Verify global's return value instead of checking whether the output is empty