#NEWLINE# @ pytest . mark . xfail #NEWLINE# def test_exec_with_path_search( self , space , capfd ) : #NEWLINE# #INDENT# out = self . fork_and_wait ( space , space , "exec 'echo', '$0'" ) #NEWLINE# assert ( out == '$0\n' )