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

Unit Testing #6

Closed
oxr463 opened this issue Jun 21, 2019 · 2 comments
Closed

Unit Testing #6

oxr463 opened this issue Jun 21, 2019 · 2 comments
Assignees
Projects
Milestone

Comments

@oxr463
Copy link
Member

oxr463 commented Jun 21, 2019

Resources:

@oxr463 oxr463 mentioned this issue Jun 21, 2019
5 tasks
@oxr463 oxr463 changed the title Unit testing Unit Testing Jun 22, 2019
@oxr463 oxr463 pinned this issue Jun 22, 2019
@imlk0
Copy link
Collaborator

imlk0 commented Mar 24, 2021

I will write a shell script that will automatically create a temporary rootfs directory before running cargo test

@oxr463 oxr463 added this to To do in GSoC 2021 via automation May 22, 2021
@oxr463 oxr463 unpinned this issue May 22, 2021
@imlk0
Copy link
Collaborator

imlk0 commented May 22, 2021

@oxr463
I noticed a busybox based lite rootfs image:
https://github.com/docker-library/busybox/tree/dist-amd64/stable/glibc
This rootfs contains some basic directories, common commands, and a dynamic linkers and libc.so, which I think is suitable for testing proot-rs.

Another project called runc also uses the image here to create rootfs for integration tests.
https://github.com/opencontainers/runc/blob/0d49470392206f40eaab3b2190a57fe7bb3df458/tests/integration/get-images.sh#L56

@oxr463 oxr463 mentioned this issue May 22, 2021
@oxr463 oxr463 added this to the v0.0.1 milestone May 24, 2021
@oxr463 oxr463 moved this from To do to Done in GSoC 2021 Aug 1, 2021
@oxr463 oxr463 closed this as completed Aug 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants