http.test httpold.test socket.test failed when run the pTest-tcl,because
the tcl script "info hostname" in /usr/lib/tcl/ptest/tests/http.test fail.
The file /etc/hosts didn't contain the map from hostname to 127.0.0.1, so
it need to add the map. In order to ensure the rootfs correct,add it at
build
On 1 March 2016 at 09:37, Dengke Du wrote:
> http.test httpold.test socket.test failed when run the pTest-tcl,because
> the tcl script "info hostname" in /usr/lib/tcl/ptest/tests/http.test on
> target fail. When run the "info hostname" get the hostname,but it can find
> the IP in the /etc/hosts,
http.test httpold.test socket.test failed when run the pTest-tcl,because
the tcl script "info hostname" in /usr/lib/tcl/ptest/tests/http.test on
target fail. When run the "info hostname" get the hostname,but it can find
the IP in the /etc/hosts, so it failed. We need to add the IP and hostname
pair