forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'bc/hash-independent-tests-part-4'
Test fix. * bc/hash-independent-tests-part-4: t0000: reword comments for "local" test t: decrease nesting in test_oid_to_path
- Loading branch information
Showing
2 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,16 +25,14 @@ try_local_x () { | |
echo "$x" | ||
} | ||
|
||
# This test is an experiment to check whether any Git users are using | ||
# Shells that don't support the "local" keyword. "local" is not | ||
# Check whether the shell supports the "local" keyword. "local" is not | ||
# POSIX-standard, but it is very widely supported by POSIX-compliant | ||
# shells, and if it doesn't cause problems for people, we would like | ||
# to be able to use it in Git code. | ||
# shells, and we rely on it within Git's test framework. | ||
# | ||
# For now, this is the only test that requires "local". If your shell | ||
# fails this test, you can ignore the failure, but please report the | ||
# problem to the Git mailing list <[email protected]>, as it might | ||
# convince us to continue avoiding the use of "local". | ||
# If your shell fails this test, the results of other tests may be | ||
# unreliable. You may wish to report the problem to the Git mailing | ||
# list <[email protected]>, as it could cause us to reconsider | ||
# relying on "local". | ||
test_expect_success 'verify that the running shell supports "local"' ' | ||
x="notlocal" && | ||
echo "local" >expected1 && | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters