cd ucore
make ARCH=amd64 menuconfig
UCORE_TEST=/testbin/pipetest make sfsimg
UCORE_TEST=/testbin/pipetest make kernel
./uCore_test -f src/user-ucore/testspecs/pipetest.testspec
Current Result
Output from the serial console
kernel_execve: pid = 2, name = "/testbin/pipetest".
child write ok
parent read ok
pipetest step1 pass.
[003] pipe0
mode : c
links : 1
blocks : 0
size : 0
[004] pipe1
mode : c
links : 1
blocks : 0
size : 3968
pipetest step2 pass.
pipetest step3:: total 14, len 14, buf Hello world!, msg Hello world!!., buf[total-1] , buf[total-2]
user panic at tests/pipetest.c:85:
assertion failed: total == len && strcmp(buf, msg) == 0
Description
pipetest panics (assertion failed) in amd64
Commit
deab5d9 Update autotest report headers
Reproduce Steps
cd ucore make ARCH=amd64 menuconfig UCORE_TEST=/testbin/pipetest make sfsimg UCORE_TEST=/testbin/pipetest make kernel ./uCore_test -f src/user-ucore/testspecs/pipetest.testspec
Current Result
Output from the serial console
The test passes.