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

ZTS: Consistency pass for .ksh extensions #9502

Merged
merged 1 commit into from
Oct 24, 2019

Conversation

ghost
Copy link

@ghost ghost commented Oct 23, 2019

Motivation and Context

There is one test script that is named *.sh even though it has /bin/ksh as the shebang.
All the other ksh test scripts are named *.ksh.

There are a few occurrences in common.run where the .ksh extension is included in the test case name. These are inconsistent with the convention of not specifying extensions in the runfile.

Description

  • Use .ksh extension for ksh scripts, not .sh
  • Remove .ksh extension from tests in common.run

How Has This Been Tested?

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)
  • Documentation (a change to man pages or other documentation)

Checklist:

* Use .ksh extension for ksh scripts, not .sh
* Remove .ksh extension from tests in common.run

Signed-off-by: Ryan Moeller <[email protected]>
@ghost ghost added Component: Test Suite Indicates an issue with the test framework or a test case Status: Code Review Needed Ready for review and testing labels Oct 23, 2019
@codecov
Copy link

codecov bot commented Oct 23, 2019

Codecov Report

Merging #9502 into master will decrease coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9502      +/-   ##
==========================================
- Coverage   79.15%   79.08%   -0.07%     
==========================================
  Files         416      416              
  Lines      123655   123655              
==========================================
- Hits        97876    97790      -86     
- Misses      25779    25865      +86
Flag Coverage Δ
#kernel 79.74% <ø> (-0.01%) ⬇️
#user 66.69% <ø> (-0.48%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 685abd5...ae32568. Read the comment docs.

@behlendorf behlendorf added Status: Accepted Ready to integrate (reviewed, tested) and removed Status: Code Review Needed Ready for review and testing labels Oct 24, 2019
@behlendorf behlendorf merged commit 4c6225b into openzfs:master Oct 24, 2019
@ghost ghost deleted the tests-cleanup branch October 24, 2019 17:53
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Dec 26, 2019
* Use .ksh extension for ksh scripts, not .sh
* Remove .ksh extension from tests in common.run

Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes openzfs#9502
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Dec 27, 2019
* Use .ksh extension for ksh scripts, not .sh
* Remove .ksh extension from tests in common.run

Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes openzfs#9502
tonyhutter pushed a commit that referenced this pull request Jan 23, 2020
* Use .ksh extension for ksh scripts, not .sh
* Remove .ksh extension from tests in common.run

Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #9502
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Test Suite Indicates an issue with the test framework or a test case Status: Accepted Ready to integrate (reviewed, tested)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant