Skip to content

The bionic libc test test_gethostbyname fails #21

Description

@zhdy2009011286

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions