<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - TestPlatformCommand fails on FreeBSD 9.x"
   href="http://llvm.org/bugs/show_bug.cgi?id=18592">18592</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>TestPlatformCommand fails on FreeBSD 9.x
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>FreeBSD
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>emaste@freebsd.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>lldb version 3.5 ( revision )                                                   

Session logs for test failures/errors/unexpected successes will go into
directory '2014-01-23-11_07_19'
Command invoked: python dotest.py --executable
/tank/emaste/src/llvm/tools/lldb/test/../../../b

Configuration: arch=amd64 compiler=/usr/bin/clang                               
----------------------------------------------------------------------          
Collected 1 test                                                                

Change dir to: /tank/emaste/src/llvm/tools/lldb/test/functionalities/platform   
1: test_shell (TestPlatformCommand.PlatformCommandTestCase)                     
   Test that the platform shell command can invoke ls. ... runCmd: platform
shell ls /
runCmd failed!                                                                  
error: error: ::posix_spawnp ( pid => 0, path = '/bin/sh', file_actions =
0x7fffffff68c8, attr = 0x7fffffff6d50, argv = 0x80bfffa60, envp = 0x0 ) err =
Invalid argument (0x00000016)


FAILURE                                                                         

os command: [['/usr/bin/clang', '-v']]                                          
with pid: 69499                                                                 
stdout:                                                                         
stderr: FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610       
Target: x86_64-unknown-freebsd9.2                                               
Thread model: posix                                                             

retcode: 0                                                                      


Restore dir to: /tank/emaste/src/llvm/tools/lldb/test                           

======================================================================          
FAIL: test_shell (TestPlatformCommand.PlatformCommandTestCase)                  
   Test that the platform shell command can invoke ls.                          
----------------------------------------------------------------------          
Traceback (most recent call last):                                              
  File
"/tank/emaste/src/llvm/tools/lldb/test/functionalities/platform/TestPlatformCommand.py",
line 37, in test_shell
    substrs = ["dev", "tmp", "usr"])                                            
  File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 1949, in
expect
    self.runCmd(str, msg=msg, trace = (True if trace else False), check = not
error, inHistory=inHistory)
  File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 1875, in
runCmd
    msg if msg else CMD_MSG(cmd))                                               
AssertionError: False is not True : Command 'platform shell ls /' returns
successfully
Config=amd64-/usr/bin/clang                                                     
----------------------------------------------------------------------          
Ran 1 test in 0.039s                                                            

FAILED (failures=1)                                                             
Session logs for test failures/errors/unexpected successes can be found in
directory '2014-01-23-11_07_19'
['dotest.py', '--executable',
'/tank/emaste/src/llvm/tools/lldb/test/../../../build-nodebug/bin/lldb', '-C',
'/usr/bin/clang', '-v', '-t', '-f', 'PlatformCommandTestCase.test_shell']
LLDB library dir:
/tank/emaste/src/llvm/tools/lldb/test/../../../build-nodebug/bin
lldb.pre_flight: None                                                           
lldb.post_flight: None                                                          
compilers=['/usr/bin/clang']</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>