You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Expected Result
The test passes.
The text was updated successfully, but these errors were encountered:
Issue #30
pipetest panics in amd64:
user panic at tests/pipetest.c:85:
assertion failed: total == len && strcmp(buf, msg) == 0
Signed-off-by: Junjie Mao <eternal.n08@gmail.com>
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
Expected Result
The test passes.
The text was updated successfully, but these errors were encountered: