mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Fix macos test cases.
This commit is contained in:
parent
dbe63727a3
commit
fb582d8b3d
@ -99,10 +99,8 @@ static void check_iconv_ascii(void **state)
|
||||
(void) state; /* unused */
|
||||
}
|
||||
|
||||
|
||||
|
||||
#define TESTSTRING "#äA\\#fß§4"
|
||||
#define LTESTSTRING L"#äA\\#fß§4"
|
||||
#define TESTSTRING "#cA\\#fß§4"
|
||||
#define LTESTSTRING L"#cA\\#fß§4"
|
||||
|
||||
static void check_to_multibyte(void **state)
|
||||
{
|
||||
|
||||
@ -212,15 +212,15 @@ static void check_csync_vio_opendir_perm(void **state)
|
||||
|
||||
assert_non_null(dir);
|
||||
|
||||
rc = _tmkdir(dir, S_IWUSR);
|
||||
rc = _tmkdir(dir, (S_IWUSR|S_IXUSR));
|
||||
assert_int_equal(rc, 0);
|
||||
c_free_locale_string(dir);
|
||||
|
||||
dh = csync_vio_opendir(csync, CSYNC_TEST_DIR);
|
||||
assert_null(dh);
|
||||
assert_int_equal(errno, EACCES);
|
||||
|
||||
_tchmod(dir, S_IRWXU);
|
||||
_tchmod(dir, MKDIR_MASK);
|
||||
c_free_locale_string(dir);
|
||||
}
|
||||
|
||||
static void check_csync_vio_closedir_null(void **state)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user