Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c3f96d768f |
@@ -1237,17 +1237,14 @@ func TestFetchRefusesListedTempName(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// TestFetchRefusesNamesEqualIgnoringCase fetches manifests that list two
|
// TestFetchRefusesNamesEqualIgnoringCase fetches manifests that list two
|
||||||
// paths that are one name on a case-insensitive filesystem. Fetched
|
// paths that are one name on a case-insensitive filesystem: two files,
|
||||||
// there, of two such files, at the top of the tree or in a directory,
|
// at the top of the tree and in a directory, a file and a directory
|
||||||
// one replaces the other and fetch exits 0. A file and a directory
|
// another file is in, and two directories. Fetching such a manifest
|
||||||
// another file is in stop fetch partway with a non-zero exit, leaving a
|
// there would replace one with the other, so fetch must refuse it on
|
||||||
// partial tree. Two spellings of one directory put both files in one
|
// every filesystem before it creates the destination or requests any
|
||||||
// directory, one of them under a spelling the manifest does not list,
|
// file. A file and a directory with the same name, and a file listed
|
||||||
// and check reports that file as not in the manifest. So fetch must
|
// twice, are refused the same way. A manifest whose names differ in more
|
||||||
// refuse each on every filesystem before it creates the destination or
|
// than letter case is fetched in full.
|
||||||
// requests any file. A file and a directory with the same name, and a
|
|
||||||
// file listed twice, are refused the same way. A manifest whose names
|
|
||||||
// differ in more than letter case is fetched in full.
|
|
||||||
func TestFetchRefusesNamesEqualIgnoringCase(t *testing.T) {
|
func TestFetchRefusesNamesEqualIgnoringCase(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user