'contains() should return False on bad grep even if stdout isn\'t empty'

@server(responses={'egrep    "text"    "/file.txt"': ('sudo:    unable    to    resolve    host    fabric', '', 1)})
def test_contains_checks_only_succeeded_flag(self):

    with hide('everything'):
        result = contains('/file.txt', 'text', use_sudo=True)
        assert (result == False)
