From e372473449a8e28bb146686bc74c8519bef7d642 Mon Sep 17 00:00:00 2001
From: Zac Medico <zmedico@gentoo.org>
Date: Wed, 11 Mar 2009 06:44:05 +0000
Subject: [PATCH] Fix failure exit status. Thanks to Brian Harring. (trunk
 r12765)

svn path=/main/branches/2.1.6/; revision=13009
---
 pym/portage/tests/runTests | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pym/portage/tests/runTests b/pym/portage/tests/runTests
index 6781796f8..55e07c514 100755
--- a/pym/portage/tests/runTests
+++ b/pym/portage/tests/runTests
@@ -16,5 +16,5 @@ import portage.tests as tests
 
 if __name__ == "__main__":
 	result = tests.main()
-	if result.failures:
+	if not result.wasSuccessful():
 		sys.exit(1)
-- 
2.26.2