368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
|
OFArray *extendedAttributeNames;
@try {
[_fileManager setExtendedAttributeData: data
forName: @"user.test"
ofItemAtPath: testFilePath];
} @catch (OFSetItemAttributesFailedException *e) {
if (e.errNo != ENOTSUP)
@throw e;
OTSkip(@"Extended attributes are not supported");
}
attributes = [_fileManager attributesOfItemAtIRI: _testFileIRI];
extendedAttributeNames =
|
|
|
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
|
OFArray *extendedAttributeNames;
@try {
[_fileManager setExtendedAttributeData: data
forName: @"user.test"
ofItemAtPath: testFilePath];
} @catch (OFSetItemAttributesFailedException *e) {
if (e.errNo != ENOTSUP && e.errNo != EOPNOTSUPP)
@throw e;
OTSkip(@"Extended attributes are not supported");
}
attributes = [_fileManager attributesOfItemAtIRI: _testFileIRI];
extendedAttributeNames =
|