|
From: | Jacob Bachmeyer |
Subject: | bug#44712: Inconsistent directory lookup of executable in dejagnu.exp/host_execute |
Date: | Tue, 17 Nov 2020 21:58:08 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |