bug#44712: Inconsistent directory lookup of executable in dejagnu.exp/host_execute

Jacob Bachmeyer <[email protected]> Tue, 17 Nov 2020 21:58:08 -0600
Newsgroups gmane.comp.sysutils.dejagnu.bugs
Message-ID <[email protected]>
Robert Menteer via Bug-dejagnu via wrote:
> This is because the lookup of the executable is done using:
>
> if {![file exists ${executable}]} 
>
> And the executing is done using:
>
> spawn -noecho "*_./_*$executable" ${params}
>
> Please make the usage of $executable consistent and document how 
> host_execute should be called.

The code you are complaining about was fixed in commit 
89f58b27832f8fc7b443988d02e56cfaba12eb5a as part of support for 
regression testing for bug#42399 and documentation for host_execute was 
added in the node "Running unit tests" in commit 
aa173cea24b94d3f714f07bbbfda85740e8e77db.  These will be in 1.6.3.

Closing report as already fixed; not in current master.


-- Jacob



_______________________________________________
Bug-dejagnu mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-dejagnu