!248 fix: fix length typo

Merge pull request !248 from kenneth/los_queue.h
This commit is contained in:
openharmony_ci
2021-05-22 09:13:46 +08:00
committed by Gitee
118 changed files with 317 additions and 317 deletions

View File

@@ -48,7 +48,7 @@ static UINT32 Testcase(VOID)
i++;
strcat(pathname1, "t");
}
ICUNIT_GOTO_EQUAL(strlen(pathname1), 255, strlen(pathname1), EXIT); // compare pathname lenth with 255
ICUNIT_GOTO_EQUAL(strlen(pathname1), 255, strlen(pathname1), EXIT); // compare pathname length with 255
fd = open(pathname1, O_NONBLOCK | O_CREAT | O_RDWR | O_EXCL, S_IRWXU | S_IRWXG | S_IRWXO);
ICUNIT_GOTO_NOT_EQUAL(fd, JFFS_IS_ERROR, fd, EXIT);

View File

@@ -122,11 +122,11 @@ EXIT:
/* *
* -@test IT_FS_FAT_674
* -@tspec The function test for fallocate fallocate64
* -@ttitle The function test for fallocate fallocate64 with the lenth smaller than write
* -@ttitle The function test for fallocate fallocate64 with the length smaller than write
* -@tprecon The filesystem module is open
* -@tbrief
1. use the open to create one file;
2. use the function fallocate fallocate64 to apply the space with the lenth smaller than write;
2. use the function fallocate fallocate64 to apply the space with the length smaller than write;
3. close the file;
4. remove the file.
* -@texpect

View File

@@ -122,11 +122,11 @@ EXIT:
/* *
* -@test IT_FS_FAT_675
* -@tspec The function test for fallocate fallocate64
* -@ttitle The function test for fallocate fallocate64 with the lenth equals to write
* -@ttitle The function test for fallocate fallocate64 with the length equals to write
* -@tprecon The filesystem module is open
* -@tbrief
1. use the open to create one file;
2. use the function fallocate fallocate64 to apply the space with the lenth equals to write;
2. use the function fallocate fallocate64 to apply the space with the length equals to write;
3. close the file;
4. remove the file.
* -@texpect

View File

@@ -134,11 +134,11 @@ EXIT:
/* *
* -@test IT_FS_FAT_676
* -@tspec The function test for fallocate fallocate64
* -@ttitle The function test for fallocate fallocate64 with the lenth is 2GB
* -@ttitle The function test for fallocate fallocate64 with the length is 2GB
* -@tprecon The filesystem module is open
* -@tbrief
1. use the open to create one file;
2. use the function fallocate fallocate64 to apply the space with the lenth is 2GB;
2. use the function fallocate fallocate64 to apply the space with the length is 2GB;
3. close the file;
4. remove the file.
* -@texpect

View File

@@ -198,11 +198,11 @@ EXIT:
/* *
* -@test IT_FS_FAT_677
* -@tspec The function test for fallocate fallocate64
* -@ttitle The function test for fallocate fallocate64 with the lenth is 2GB+1
* -@ttitle The function test for fallocate fallocate64 with the length is 2GB+1
* -@tprecon The filesystem module is open
* -@tbrief
1. use the open to create one file;
2. use the function fallocate fallocate64 to apply the space with the lenth is 2GB+1;
2. use the function fallocate fallocate64 to apply the space with the length is 2GB+1;
3. close the file;
4. remove the file.
* -@texpect

View File

@@ -143,11 +143,11 @@ EXIT:
/* *
* -@test IT_FS_FAT_678
* -@tspec The function test for fallocate fallocate64
* -@ttitle The function test for fallocate fallocate64 with the lenth is 2GB-1
* -@ttitle The function test for fallocate fallocate64 with the length is 2GB-1
* -@tprecon The filesystem module is open
* -@tbrief
1. use the open to create one file;
2. use the function fallocate fallocate64 to apply the space with the lenth is 2GB-1;
2. use the function fallocate fallocate64 to apply the space with the length is 2GB-1;
3. close the file;
4. remove the file.
* -@texpect