Detect openSUSE/SLES systems more reliably.
Signed-off-by: Jiri Benc <jbenc@suse.cz>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@2864 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/bin/base_utils.py b/client/bin/base_utils.py
index 9fb7a68..fbb6b7d 100755
--- a/client/bin/base_utils.py
+++ b/client/bin/base_utils.py
@@ -166,6 +166,9 @@
def get_os_vendor():
"""Try to guess what's the os vendor
"""
+ if os.path.isfile('/etc/SuSE-release'):
+ return 'SUSE'
+
issue = '/etc/issue'
if not os.path.isfile(issue):