chyyuu / ucore_os_plus

232 stars 132 forks source link

The bionic libc test test_gethostbyname fails #21

Open zhdy2009011286 opened 12 years ago

zhdy2009011286 commented 12 years ago

Description

The purpose of the "test_gethostbyname.c" is to get the information of the host through the execution of the "gethostbyname" function with the name of the host as a string type parameter.

The test fails upon the first call to gethostbyname. See "Current Result" for details including printed trapframes.

Reproduce steps

cd ~/ucore_plus/ucore 
make ARCH=arm BOARD=goldfishv7 defconfig
make sfsimg
make kernel
./uCore_test -s bionic -w 15 -t 45 -f src/user-ucore/testspecs/test_getaddrinfo.testspec 

Current result

Expected Result

The test passes.