Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pipetest panics (assertion failed) in amd64 #30

Open
eternalNight opened this issue Sep 15, 2013 · 0 comments
Open

pipetest panics (assertion failed) in amd64 #30

eternalNight opened this issue Sep 15, 2013 · 0 comments

Comments

@eternalNight
Copy link
Collaborator

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

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.

eternalNight pushed a commit that referenced this issue Sep 15, 2013
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant