Check before using platform specific attributes.
authorChaoren Lin <chaorenl@google.com>
Fri, 5 Jun 2015 06:28:43 +0000 (06:28 +0000)
committerChaoren Lin <chaorenl@google.com>
Fri, 5 Jun 2015 06:28:43 +0000 (06:28 +0000)
commit52cf8ecc2321653737b8350ba1a8d230f609cf59
tree881c95fc95a43d5da8e98069a6ca0918d3eb6255
parent2d45554b8263337f081ef8c507a01b1ba74b40fc
Check before using platform specific attributes.

Summary: `os.uname` in TestUniversal and `os.geteuid` in TestTerminal.

Reviewers: clayborg, zturner

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D10202

llvm-svn: 239135
lldb/test/functionalities/tty/TestTerminal.py
lldb/test/macosx/universal/TestUniversal.py