This doesn't seem like the best way for the test to do this.  I don't know much about linux, but windows at least we can just have the debugger directly figure out how many handles are open in the target process.  And this is a pretty useful thing to be able to do in a debugger, for example if you're debugging a handle leak.<br><br>Is this not possible on linux?  If it is, it would be much better to just have the debugger enumerate the target's handles and verify there are only 3<br><div class="gmail_quote">On Tue, Feb 3, 2015 at 8:15 AM Pavel Labath <<a href="mailto:labath@google.com">labath@google.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Update main.c: remove tabs<br>
<br>
<br>
<a href="http://reviews.llvm.org/D7372" target="_blank">http://reviews.llvm.org/D7372</a><br>
<br>
Files:<br>
  source/Plugins/Process/Linux/<u></u>NativeProcessLinux.cpp<br>
  source/Plugins/Process/Linux/<u></u>ProcessMonitor.cpp<br>
  source/Target/<u></u>ProcessLaunchInfo.cpp<br>
  test/dosep.py<br>
  test/functionalities/avoids-<u></u>fd-leak/Makefile<br>
  test/functionalities/avoids-<u></u>fd-leak/TestFdLeak.py<br>
  test/functionalities/avoids-<u></u>fd-leak/main.c<br>
<br>
EMAIL PREFERENCES<br>
  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/<u></u>settings/panel/<u></u>emailpreferences/</a><br>
______________________________<u></u>_________________<br>
lldb-commits mailing list<br>
<a href="mailto:lldb-commits@cs.uiuc.edu" target="_blank">lldb-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/lldb-commits</a><br>
</blockquote></div>