mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-5401 fix test, reenable check for existing file
X-SVN-Rev: 22831
This commit is contained in:
parent
c2b52dbe07
commit
e2232741ed
1 changed files with 4 additions and 4 deletions
|
@ -199,10 +199,10 @@ static void TestUDataOpen(){
|
|||
strcat(icuDataFilePath, dirSepString);
|
||||
strcat(icuDataFilePath, U_ICUDATA_NAME);
|
||||
strcat(icuDataFilePath, "_");
|
||||
strcat(icuDataFilePath, "unorm.icu");
|
||||
strcat(icuDataFilePath, "cnvalias.icu");
|
||||
|
||||
/* lots_of_mallocs(); */
|
||||
/* if (stat(icuDataFilePath, &stat_buf) == 0)*/
|
||||
if (stat(icuDataFilePath, &stat_buf) == 0)
|
||||
{
|
||||
int i;
|
||||
log_verbose("%s exists, so..\n", icuDataFilePath);
|
||||
|
@ -222,11 +222,11 @@ static void TestUDataOpen(){
|
|||
}
|
||||
}
|
||||
}
|
||||
/* else
|
||||
else
|
||||
{
|
||||
log_verbose("Skipping tests of udata_open() on %s. File not present in this configuration.\n",
|
||||
icuDataFilePath);
|
||||
}*/
|
||||
}
|
||||
|
||||
free(icuDataFilePath);
|
||||
icuDataFilePath = NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue