Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Run unit test with sudo #246

Closed
wants to merge 1 commit into from
Closed

Conversation

miaoyq
Copy link
Member

@miaoyq miaoyq commented Sep 15, 2017

In some cases, we must use root user to perform some operations in unit tests, such as mount.
So I think we should run unit test with sudo

Related to #230

Signed-off-by: Yanqiang Miao miao.yanqiang@zte.com.cn

Related to containerd#230

Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
@Random-Liu
Copy link
Member

@miaoyq You should use fake os in unit test, so we don't need sudo.

@Random-Liu
Copy link
Member

@miaoyq Should we close this PR?

@miaoyq miaoyq closed this Sep 19, 2017
@miaoyq
Copy link
Member Author

miaoyq commented Sep 19, 2017

@Random-Liu Yes, I will close the PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants