Skip to content

fix checking of sanity check paths w.r.t. discriminating between files and directories#1436

Merged
boegel merged 2 commits intoeasybuilders:developfrom
boegel:fix_sanity_check
Oct 21, 2015
Merged

fix checking of sanity check paths w.r.t. discriminating between files and directories#1436
boegel merged 2 commits intoeasybuilders:developfrom
boegel:fix_sanity_check

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Oct 21, 2015

This fixes the way in which sanity check paths are checked.

The check_fn variable contains the function that should be used for checking files/directories specifically.

In particular, this fixes:

  • making sure that directories are non-empty
  • making sure that directories are really directories, not files
  • making sure that files are really files, not directories

@boegel boegel added this to the v2.4.0 milestone Oct 21, 2015
@boegel boegel mentioned this pull request Oct 21, 2015
2 tasks
@boegel
Copy link
Copy Markdown
Member Author

boegel commented Oct 21, 2015

cfr. #1424

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Oct 21, 2015

@wpoely86: please review?

@wpoely86
Copy link
Copy Markdown
Member

lgtm

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite FAILed.

See https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2219/console for more details.

Please fix the reported issues by pushing additional commits to the branch corresponding with this pull request; contact @boegel if you're not sure what to do.

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Oct 21, 2015

Jenkins fluke?

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Oct 21, 2015

Jenkins: test this please

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2222/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Oct 21, 2015

Thanks for the review @wpoely86!

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