tests: fix TestCpWarnings comment typo

This commit is contained in:
Jakob Unterwurzacher 2020-07-12 13:43:34 +02:00
parent fd0e8aa869
commit f3a0dbabee

View File

@ -195,6 +195,7 @@ func TestWrite0200File(t *testing.T) {
} }
} }
// TestMvWarnings:
// When xattr support was introduced, mv threw warnings like these: // When xattr support was introduced, mv threw warnings like these:
// mv: preserving permissions for b/x: Operation not permitted // mv: preserving permissions for b/x: Operation not permitted
// because we returned EPERM when it tried to set system.posix_acl_access. // because we returned EPERM when it tried to set system.posix_acl_access.
@ -243,7 +244,7 @@ func TestMvWarningSymlink(t *testing.T) {
} }
} }
// See TestCpWarnings. // See TestMvWarnings.
func TestCpWarnings(t *testing.T) { func TestCpWarnings(t *testing.T) {
fn := test_helpers.TmpDir + "/TestCpWarnings" fn := test_helpers.TmpDir + "/TestCpWarnings"
err := ioutil.WriteFile(fn, []byte("foo"), 0600) err := ioutil.WriteFile(fn, []byte("foo"), 0600)