Don't run functionalities/tty under sudo / as root.
authorJason Molenda <jmolenda@apple.com>
Tue, 13 Jan 2015 00:54:59 +0000 (00:54 +0000)
committerJason Molenda <jmolenda@apple.com>
Tue, 13 Jan 2015 00:54:59 +0000 (00:54 +0000)
commit5155e5070c964b896b47e89d8c4e2c3584ff6653
tree996c0a6cc15c88340363e2a23d47ae6968552779
parent6f4a19f1bd886af88b108cb11d4727397a2d32fd
Don't run functionalities/tty under sudo / as root.
The terminal window will be opened under the ownership
of the real userid and it won't be able to open the
socket talking back to lldb -- the testsuite will hang
here.

The same thing probably should be done for lldb when run
on a remote system over ssh.  I added a line for that
but commented it out for now because I haven't
tested it.

llvm-svn: 225748
lldb/test/functionalities/tty/TestTerminal.py