mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Fix directory creation to match actual OSX sematics as determined by adding
a few testcases ... The basic method should fail if the directory already exists. The intermediate directories method should fail if the directory exists unless the option to create intermediate directories is selected, in which case a pre-existing directory is counted as a success.
This commit is contained in:
parent
c494785630
commit
24d29934cf
4 changed files with 42 additions and 20 deletions
|
@ -26,6 +26,7 @@ int main()
|
|||
|
||||
[lock1 unlock];
|
||||
PASS(YES == [lock2 tryLock], "unlocking first lock allows second lock");
|
||||
[lock2 unlock];
|
||||
|
||||
END_SET("basic")
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue