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

Match on word for excluding pools from tests #5703

Merged
merged 1 commit into from
Jan 31, 2017
Merged

Match on word for excluding pools from tests #5703

merged 1 commit into from
Jan 31, 2017

Conversation

crawfxrd
Copy link
Contributor

Description

Match on word so the cleanup logic will cleanup testpool.* while ignoring pool.

Motivation and Context

Running tests locally were failing on cleanup scripts due to having a pool named pool.

How Has This Been Tested?

Running a subset of tests locally with a pool named pool and with/without the grep flag.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the ZFS on Linux code style requirements.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • Change has been approved by a ZFS on Linux member.

Running tests locally were failing on cleanup scripts due to having a
pool named "pool". Match on word so the cleanup logic will cleanup
"testpool.*" while ignoring "pool".

Signed-off-by: Tim Crawford <[email protected]>
@mention-bot
Copy link

@crawfxrd, thanks for your PR! By analyzing the history of the files in this pull request, we identified @behlendorf, @loli10K and @tonyhutter to be potential reviewers.

Copy link
Contributor

@behlendorf behlendorf left a comment

Choose a reason for hiding this comment

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

Thanks!

@behlendorf behlendorf merged commit 544b805 into openzfs:master Jan 31, 2017
@crawfxrd crawfxrd deleted the zfstest_grep branch February 1, 2017 01:06
wli5 pushed a commit to wli5/zfs that referenced this pull request Feb 28, 2017
Running tests locally were failing on cleanup scripts due to having a
pool named "pool". Match on word so the cleanup logic will cleanup
"testpool.*" while ignoring "pool".

Reviewed-by: loli10K <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Tim Crawford <[email protected]>
Closes openzfs#5703
wli5 pushed a commit to wli5/zfs that referenced this pull request Feb 28, 2017
Running tests locally were failing on cleanup scripts due to having a
pool named "pool". Match on word so the cleanup logic will cleanup
"testpool.*" while ignoring "pool".

Reviewed-by: loli10K <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Tim Crawford <[email protected]>
Closes openzfs#5703
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.

5 participants