8000 Fix tests after introducing axcpu by equation314 · Pull Request #9 · arceos-org/arceos-apps · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix tests after introducing axcpu #9

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

Merged
merged 2 commits into from
Jun 17, 2025
Merged

Fix tests after introducing axcpu #9

merged 2 commits into from
Jun 17, 2025

Conversation

equation314
Copy link
Member

This PR is paired with arceos-org/arceos#257

@Azure-stars
Copy link
Contributor

For httpclient testcase, it will return a ipv6 address in Intel-5418Y. Does it need any change?

fn client() -> io::Result<()> {
for addr in DEST.to_socket_addrs()? {
println!("dest: {} ({})", DEST, addr);
}
let mut stream = TcpStream::connect(DEST)?;
stream.write_all(REQUEST.as_bytes())?;
let mut buf = [0; 2048];
let n = stream.read(&mut buf)?;
let response = core::str::from_utf8(&buf[..n]).unwrap();
println!("{}", response); // longer response need to handle tcp package problems.
Ok(())
}

@equation314 equation314 merged commit 870b098 into main Jun 17, 2025
4 of 30 checks passed
@equation314 equation314 deleted the axcpu branch June 17, 2025 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0