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

part of PR 340 adding test_setup_ptmx and test_setup_default_symlinks #359

Conversation

tommady
Copy link
Collaborator

@tommady tommady commented Oct 4, 2021

as requested by separating #340 into small PRs

this one is the fourth part which is adding two test cases:

  • test_setup_ptmx
  • test_setup_default_symlinks

please help review 🙇🏻

@codecov-commenter
Copy link

Codecov Report

Merging #359 (ed5895c) into main (7f91bc6) will increase coverage by 0.39%.
The diff coverage is 61.53%.

@@            Coverage Diff             @@
##             main     #359      +/-   ##
==========================================
+ Coverage   70.18%   70.57%   +0.39%     
==========================================
  Files          48       48              
  Lines        7409     7420      +11     
==========================================
+ Hits         5200     5237      +37     
+ Misses       2209     2183      -26     

@@ -251,25 +254,31 @@ impl RootFS {
}

fn setup_ptmx(&self, rootfs: &Path) -> Result<()> {
if let Err(e) = remove_file(rootfs.join("dev/ptmx")) {
let ptmx = rootfs.join("dev/ptmx");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member

@utam0k utam0k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome

@utam0k utam0k merged commit 9f9bfb5 into youki-dev:main Oct 4, 2021
@tommady tommady deleted the 279-increate-the-code-coverage-of-src-rootfs-part-4 branch October 4, 2021 14:43
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.

3 participants