diff --git a/Kconfig b/Kconfig
index e13c404a..7a6feeaa 100644
--- a/Kconfig
+++ b/Kconfig
@@ -265,7 +265,7 @@ config MEM_LEAKCHECK
default n
depends on DEBUG_VERSION && MEM_DEBUG
help
- Answer Y to enable record the LR of Function call stack of Mem operation, it can check the mem leak through the infomations of mem node.
+ Answer Y to enable record the LR of Function call stack of Mem operation, it can check the mem leak through the informations of mem node.
config BASE_MEM_NODE_INTEGRITY_CHECK
bool "Enable integrity check or not"
default n
diff --git a/apps/shell/src/shcmd.c b/apps/shell/src/shcmd.c
index 5142153c..e51dee3d 100644
--- a/apps/shell/src/shcmd.c
+++ b/apps/shell/src/shcmd.c
@@ -377,7 +377,7 @@ static int OsTabMatchFile(char *cmdKey, unsigned int *len)
* Description: Pass in the string and clear useless space ,which include:
* 1) The overmatch space which is not be marked by Quote's area
* Squeeze the overmatch space into one space
- * 2) Clear all space before first valid charatctor
+ * 2) Clear all space before first valid character
* Input: cmdKey : Pass in the buff string, which is ready to be operated
* cmdOut : Pass out the buffer string ,which has already been operated
* size : cmdKey length
@@ -406,17 +406,17 @@ unsigned int OsCmdKeyShift(const char *cmdKey, char *cmdOut, unsigned int size)
/* Backup the 'output' start address */
outputBak = output;
- /* Scan each charactor in 'cmdKey',and squeeze the overmuch space and ignore invalid charactor */
+ /* Scan each character in 'cmdKey',and squeeze the overmuch space and ignore invalid character */
for (; *cmdKey != '\0'; cmdKey++) {
/* Detected a Double Quotes, switch the matching status */
if (*(cmdKey) == '\"') {
SWITCH_QUOTES_STATUS(quotes);
}
- /* Ignore the current charactor in following situation */
+ /* Ignore the current character in following situation */
/* 1) Quotes matching status is FALSE (which said that the space is not been marked by double quotes) */
- /* 2) Current charactor is a space */
- /* 3) Next charactor is a space too, or the string is been seeked to the end already(\0) */
- /* 4) Invalid charactor, such as single quotes */
+ /* 2) Current character is a space */
+ /* 3) Next character is a space too, or the string is been seeked to the end already(\0) */
+ /* 4) Invalid character, such as single quotes */
if ((*cmdKey == ' ') && ((*(cmdKey + 1) == ' ') || (*(cmdKey + 1) == '\0')) && QUOTES_STATUS_CLOSE(quotes)) {
continue;
}
@@ -430,7 +430,7 @@ unsigned int OsCmdKeyShift(const char *cmdKey, char *cmdOut, unsigned int size)
/* Restore the 'output' start address */
output = outputBak;
len = strlen(output);
- /* Clear the space which is located at the first charactor in buffer */
+ /* Clear the space which is located at the first character in buffer */
if (*output == ' ') {
output++;
len--;
diff --git a/apps/shell/src/shmsg.c b/apps/shell/src/shmsg.c
index 40a18d7c..0fb2b69d 100644
--- a/apps/shell/src/shmsg.c
+++ b/apps/shell/src/shmsg.c
@@ -334,12 +334,12 @@ char *GetCmdName(const char *cmdline, unsigned int len)
/* If reach a double quotes, switch the quotes matching status */
if (*tmpStr == '\"') {
SWITCH_QUOTES_STATUS(quotes);
- /* Ignore the double quote charactor itself */
+ /* Ignore the double quote character itself */
tmpStr++;
continue;
}
/* If detected a space which the quotes matching status is false */
- /* which said has detected the first space for seperator, finish this scan operation */
+ /* which said has detected the first space for separator, finish this scan operation */
if ((*tmpStr == ' ') && (QUOTES_STATUS_CLOSE(quotes))) {
break;
}
@@ -503,7 +503,7 @@ unsigned int PreHandleCmdline(const char *input, char **output, unsigned int *ou
*output = shiftStr;
*outputlen = shiftLen;
- /* Check and parse "./", located at the first two charaters of the cmd */
+ /* Check and parse "./", located at the first two characters of the cmd */
if ((shiftLen > removeLen) && (shiftStr[0] == '.') && (shiftStr[1] == '/')) {
execLen = strlen(execCmd);
newLen = execLen + shiftLen - removeLen; /* i.e., newLen - execLen == shiftLen - removeLen */
diff --git a/apps/tftp/include/tftpc.h b/apps/tftp/include/tftpc.h
index 3d0bf568..f99454c2 100644
--- a/apps/tftp/include/tftpc.h
+++ b/apps/tftp/include/tftpc.h
@@ -114,7 +114,7 @@ typedef enum tagTFTPC_OpCode {
TFTPC_OP_RRQ = 1, /* read request */
TFTPC_OP_WRQ, /* write request */
TFTPC_OP_DATA, /* data packet */
- TFTPC_OP_ACK, /* acknowledgement */
+ TFTPC_OP_ACK, /* acknowledgment */
TFTPC_OP_ERROR, /* error code */
TFTPC_OP_OPT /* option code */
} TFTPC_OPCODE_E;
diff --git a/apps/tftp/src/main.c b/apps/tftp/src/main.c
index 4a476c74..c652821d 100644
--- a/apps/tftp/src/main.c
+++ b/apps/tftp/src/main.c
@@ -50,11 +50,11 @@ static char *TftpError[] = {
"Error while sending data to the peer\n",
"Requested file is not found\n",
"This is the error sent by the server when hostname cannot be resolved\n",
- "Input paramters passed to TFTP interfaces are invalid\n",
+ "Input parameters passed to TFTP interfaces are invalid\n",
"Error detected in TFTP packet or the error received from the TFTP server\n",
"Error during packet synhronization while sending or unexpected packet is received\n",
"File size limit crossed, Max block can be 0xFFFF, each block containing 512 bytes\n",
- "File name lenght greater than 256\n",
+ "File name length greater than 256\n",
"Hostname IP is not valid\n",
"TFTP server returned file access error\n",
"TFTP server returned error signifying that the DISK is full to write\n",
@@ -66,11 +66,11 @@ static char *TftpError[] = {
"File create error\n",
"File write error\n",
"Max time expired while waiting for file to be recived\n",
- "Error when the received packet is less than 4bytes(error lenght) or greater than 512bytes\n",
+ "Error when the received packet is less than 4bytes(error length) or greater than 512bytes\n",
"Returned by TFTP server for protocol user error\n",
"The destination file path length greater than 256\n",
"Returned by TFTP server for undefined transfer ID\n",
- "IOCTL fucntion failed at TFTP client while setting the socket to non-block\n",
+ "IOCTL function failed at TFTP client while setting the socket to non-block\n",
};
#ifndef ARRAY_SIZE
diff --git a/apps/tftp/src/tftpc.c b/apps/tftp/src/tftpc.c
index b78bd45f..725a0fbb 100644
--- a/apps/tftp/src/tftpc.c
+++ b/apps/tftp/src/tftpc.c
@@ -189,7 +189,7 @@ u32_t lwip_tftp_recv_from_server(s32_t iSockNum, u32_t *pulSize, TFTPC_PACKET_S
if (iRet == -1) {
return TFTPC_SELECT_ERROR;
} else if (iRet == 0) {
- return TFTPC_TIMEOUT_ERROR; /* Select timeout occured */
+ return TFTPC_TIMEOUT_ERROR; /* Select timeout occurred */
}
if (!FD_ISSET(iSockNum, &stReadfds)) {
@@ -268,7 +268,7 @@ u32_t lwip_tftp_recv_from_server(s32_t iSockNum, u32_t *pulSize, TFTPC_PACKET_S
*pulSize = (u32_t)iRet;
/* If received packet is first block of data(for get operation) or if
- received packet is acknowledgement for write request (put operation)
+ received packet is acknowledgment for write request (put operation)
store the received port number */
if (((usOpcode == TFTPC_OP_DATA) &&
(ntohs(pstRecvBuf->u.stTFTP_Data.usBlknum) == 1)) ||
@@ -687,7 +687,7 @@ u32_t lwip_tftp_get_file_by_filename(u32_t ulHostAddr,
ulErrCode = lwip_tftp_recv_from_server(iSockNum, &ulRecvSize, pstRecvBuf,
&ulIgnorePkt, &stServerAddr, pstSendBuf);
- /* If select timeout occured */
+ /* If select timeout occurred */
if (ulErrCode == TFTPC_TIMEOUT_ERROR) {
ulTotalTime++;
if (ulTotalTime < TFTPC_MAX_SEND_REQ_ATTEMPTS) {
@@ -982,7 +982,7 @@ u32_t lwip_tftp_put_file_by_filename(u32_t ulHostAddr, u16_t usTftpServPort, u8_
return TFTPC_MEMALLOC_ERROR;
}
- /* First time intialize the buffer */
+ /* First time initialize the buffer */
(void)memset_s((void *)pstSendBuf, sizeof(TFTPC_PACKET_S), 0, sizeof(TFTPC_PACKET_S));
/* The destination path can only be one of the following:
@@ -1221,7 +1221,7 @@ u32_t lwip_tftp_inner_put_file(s32_t iSockNum,
return TFTPC_MEMALLOC_ERROR;
}
- /* First time intialize the buffer */
+ /* First time initialize the buffer */
(void)memset_s((void *)pstRecvBuf, sizeof(TFTPC_PACKET_S), 0, sizeof(TFTPC_PACKET_S));
/* Initialize from address to the server address at first */
@@ -1235,7 +1235,7 @@ u32_t lwip_tftp_inner_put_file(s32_t iSockNum,
ulError = lwip_tftp_recv_from_server(iSockNum, &ulPktSize,
pstRecvBuf, &ulIgnorePkt,
pstServerAddr, pstSendBuf);
- /* If select timeout occured */
+ /* If select timeout occurred */
if (ulError == TFTPC_TIMEOUT_ERROR) {
ulTotalTime++;
if (ulTotalTime < TFTPC_MAX_SEND_REQ_ATTEMPTS) {
@@ -1526,7 +1526,7 @@ u32_t lwip_tftp_get_file_by_filename_to_rawmem(u32_t ulHostAddr,
ulErrCode = lwip_tftp_recv_from_server(iSockNum, &ulRecvSize, pstRecvBuf, &ulIgnorePkt,
&stServerAddr, pstSendBuf);
- /* If select timeout occured */
+ /* If select timeout occurred */
if (ulErrCode == TFTPC_TIMEOUT_ERROR) {
ulTotalTime++;
if (ulTotalTime < TFTPC_MAX_SEND_REQ_ATTEMPTS) {
diff --git a/arch/arm/arm/include/los_atomic.h b/arch/arm/arm/include/los_atomic.h
index 702ea78e..6d79cf94 100644
--- a/arch/arm/arm/include/los_atomic.h
+++ b/arch/arm/arm/include/los_atomic.h
@@ -246,7 +246,7 @@ STATIC INLINE INT32 LOS_AtomicIncRet(Atomic *v)
* @brief Atomic auto-decrement.
*
* @par Description:
- * This API is used to implementating the atomic auto-decrement.
+ * This API is used to implement the atomic auto-decrement.
* @attention
*
* - The pointer v must not be NULL.
@@ -280,7 +280,7 @@ STATIC INLINE VOID LOS_AtomicDec(Atomic *v)
* @brief Atomic auto-decrement.
*
* @par Description:
- * This API is used to implementating the atomic auto-decrement and return the result of auto-decrement.
+ * This API is used to implement the atomic auto-decrement and return the result of auto-decrement.
* @attention
*
* - The pointer v must not be NULL.
@@ -531,7 +531,7 @@ STATIC INLINE INT64 LOS_Atomic64IncRet(Atomic64 *v)
* @brief Atomic64 auto-decrement.
*
* @par Description:
- * This API is used to implementating the atomic64 auto-decrement.
+ * This API is used to implement the atomic64 auto-decrement.
* @attention
*
* - The pointer v must not be NULL.
@@ -566,7 +566,7 @@ STATIC INLINE VOID LOS_Atomic64Dec(Atomic64 *v)
* @brief Atomic64 auto-decrement.
*
* @par Description:
- * This API is used to implementating the atomic64 auto-decrement and return the result of auto-decrement.
+ * This API is used to implement the atomic64 auto-decrement and return the result of auto-decrement.
* @attention
*
* - The pointer v must not be NULL.
diff --git a/arch/arm/gic/gic_v2.c b/arch/arm/gic/gic_v2.c
index 57e9b380..7e7a61d6 100644
--- a/arch/arm/gic/gic_v2.c
+++ b/arch/arm/gic/gic_v2.c
@@ -119,12 +119,12 @@ VOID HalIrqInit(VOID)
{
UINT32 i;
- /* set externel interrupts to be level triggered, active low. */
+ /* set external interrupts to be level triggered, active low. */
for (i = 32; i < OS_HWI_MAX_NUM; i += 16) {
GIC_REG_32(GICD_ICFGR(i / 16)) = 0;
}
- /* set externel interrupts to CPU 0 */
+ /* set external interrupts to CPU 0 */
for (i = 32; i < OS_HWI_MAX_NUM; i += 4) {
GIC_REG_32(GICD_ITARGETSR(i / 4)) = 0x01010101;
}
diff --git a/arch/arm/gic/gic_v3.c b/arch/arm/gic/gic_v3.c
index a10d2b8c..bbb83012 100644
--- a/arch/arm/gic/gic_v3.c
+++ b/arch/arm/gic/gic_v3.c
@@ -362,7 +362,7 @@ VOID HalIrqInit(VOID)
GicWaitForRwp(GICD_CTLR);
ISB;
- /* set externel interrupts to be level triggered, active low. */
+ /* set external interrupts to be level triggered, active low. */
for (i = 32; i < OS_HWI_MAX_NUM; i += 16) {
GIC_REG_32(GICD_ICFGR(i / 16)) = 0;
}
diff --git a/arch/arm/include/gic_common.h b/arch/arm/include/gic_common.h
index fe5a3d16..e9ac5622 100644
--- a/arch/arm/include/gic_common.h
+++ b/arch/arm/include/gic_common.h
@@ -77,8 +77,8 @@ enum {
#define GICD_PIDR2V3 (GICD_OFFSET + 0xffe8)
#ifdef LOSCFG_ARCH_GIC_V3
-#define GICD_IGRPMODR(n) (GICD_OFFSET + 0x0d00 + (n) * 4) /* Interrupt Group Mode Reisters */
-#define GICD_IROUTER(n) (GICD_OFFSET + 0x6000 + (n) * 8) /* Interrupt Rounter Reisters */
+#define GICD_IGRPMODR(n) (GICD_OFFSET + 0x0d00 + (n) * 4) /* Interrupt Group Mode Registers */
+#define GICD_IROUTER(n) (GICD_OFFSET + 0x6000 + (n) * 8) /* Interrupt Rounter Registers */
#endif
#define GIC_REG_8(reg) (*(volatile UINT8 *)((UINTPTR)(GIC_BASE_ADDR + (reg))))
diff --git a/compat/posix/include/mqueue.h b/compat/posix/include/mqueue.h
index 74d366b3..c15554a2 100644
--- a/compat/posix/include/mqueue.h
+++ b/compat/posix/include/mqueue.h
@@ -71,7 +71,7 @@ extern "C" {
/* CONSTANTS */
#define MQ_USE_MAGIC 0x89abcdef
-/* not suppurt prio */
+/* not support prio */
#define MQ_PRIO_MAX 1
typedef union send_receive_t {
@@ -297,7 +297,7 @@ extern int mq_send(mqd_t personal, const char *msg, size_t msgLen, unsigned int
* - EAGAIN: The message queue is empty.
* - EINVAL: invalid parameter.
* - EMSGSIZE: The message to be received is too long.
- * - ETIMEDOUT: The operaton times out.
+ * - ETIMEDOUT: The operation times out.
*
*
* @par Dependency:
diff --git a/compat/posix/src/time.c b/compat/posix/src/time.c
index 6d941fb0..8803b586 100644
--- a/compat/posix/src/time.c
+++ b/compat/posix/src/time.c
@@ -647,7 +647,7 @@ int clock_getres(clockid_t clockID, struct timespec *tp)
case CLOCK_MONOTONIC_RAW:
case CLOCK_MONOTONIC:
case CLOCK_REALTIME:
- /* the accessable rtc resolution */
+ /* the accessible rtc resolution */
tp->tv_nsec = OS_SYS_NS_PER_US; /* the precision of clock_gettime is 1us */
tp->tv_sec = 0;
break;
diff --git a/drivers/block/disk/include/disk.h b/drivers/block/disk/include/disk.h
index 123d6aa3..d006e399 100644
--- a/drivers/block/disk/include/disk.h
+++ b/drivers/block/disk/include/disk.h
@@ -253,7 +253,7 @@ struct disk_divide_info {
*
*
* @param diskName [IN] Type #const CHAR * disk driver name.
- * @param bops [IN] Type #const struct block_operations * block driver control sturcture.
+ * @param bops [IN] Type #const struct block_operations * block driver control structure.
* @param priv [IN] Type #VOID * private data of vnode.
* @param diskID [IN] Type #INT32 disk id number, less than SYS_MAX_DISK.
* @param info [IN] Type #VOID * disk driver partition information.
@@ -712,7 +712,7 @@ INT32 los_alloc_diskid_byname(const CHAR *diskName);
* @brief get the INUSED disk id.
*
* @par Description:
- * Get the correponding INUSED disk id by diskName.
+ * Get the corresponding INUSED disk id by diskName.
*
* @attention
*
diff --git a/drivers/block/disk/src/disk.c b/drivers/block/disk/src/disk.c
index 3fa6b0dd..6db419cb 100644
--- a/drivers/block/disk/src/disk.c
+++ b/drivers/block/disk/src/disk.c
@@ -107,7 +107,7 @@ INT32 los_alloc_diskid_byname(const CHAR *diskName)
size_t nameLen;
if (diskName == NULL) {
- PRINT_ERR("The paramter disk_name is NULL");
+ PRINT_ERR("The parameter disk_name is NULL");
return VFS_ERROR;
}
@@ -163,7 +163,7 @@ INT32 los_get_diskid_byname(const CHAR *diskName)
size_t diskNameLen;
if (diskName == NULL) {
- PRINT_ERR("The paramter diskName is NULL");
+ PRINT_ERR("The parameter diskName is NULL");
return VFS_ERROR;
}
@@ -756,7 +756,7 @@ INT32 DiskPartitionRegister(los_disk *disk)
los_part *part = NULL;
struct disk_divide_info parInfo;
- /* Fill disk_divide_info structure to set partition's infomation. */
+ /* Fill disk_divide_info structure to set partition's information. */
(VOID)memset_s(parInfo.part, sizeof(parInfo.part), 0, sizeof(parInfo.part));
partSize = sizeof(parInfo.part) / sizeof(parInfo.part[0]);
@@ -788,7 +788,7 @@ INT32 DiskPartitionRegister(los_disk *disk)
}
for (i = 0; i < partSize; i++) {
- /* Read the disk_divide_info structure to get partition's infomation. */
+ /* Read the disk_divide_info structure to get partition's information. */
if ((parInfo.part[i].type != 0) && (parInfo.part[i].type != EXTENDED_PAR) &&
(parInfo.part[i].type != EXTENDED_8G)) {
part = get_part(DiskAddPart(disk, parInfo.part[i].sector_start, parInfo.part[i].sector_count, TRUE));
diff --git a/drivers/mtd/multi_partition/src/mtd_partition.c b/drivers/mtd/multi_partition/src/mtd_partition.c
index 62ff09ed..e5414618 100644
--- a/drivers/mtd/multi_partition/src/mtd_partition.c
+++ b/drivers/mtd/multi_partition/src/mtd_partition.c
@@ -289,7 +289,7 @@ static INT32 BlockDriverRegisterOperate(mtd_partition *newNode,
if (ret) {
free(newNode->blockdriver_name);
newNode->blockdriver_name = NULL;
- PRINT_ERR("register blkdev partion error\n");
+ PRINT_ERR("register blkdev partition error\n");
return ret;
}
} else {
@@ -322,7 +322,7 @@ static INT32 CharDriverRegisterOperate(mtd_partition *newNode,
ret = register_driver(newNode->chardriver_name, param->char_ops, RWE_RW_RW, newNode);
if (ret) {
- PRINT_ERR("register chardev partion error\n");
+ PRINT_ERR("register chardev partition error\n");
free(newNode->chardriver_name);
newNode->chardriver_name = NULL;
return ret;
@@ -340,7 +340,7 @@ static INT32 BlockDriverUnregister(mtd_partition *node)
if (node->blockdriver_name != NULL) {
ret = unregister_blockdriver(node->blockdriver_name);
if (ret == -EBUSY) {
- PRINT_ERR("unregister blkdev partion error:%d\n", ret);
+ PRINT_ERR("unregister blkdev partition error:%d\n", ret);
return ret;
}
free(node->blockdriver_name);
@@ -356,7 +356,7 @@ static INT32 CharDriverUnregister(mtd_partition *node)
if (node->chardriver_name != NULL) {
ret = unregister_driver(node->chardriver_name);
if (ret == -EBUSY) {
- PRINT_ERR("unregister chardev partion error:%d\n", ret);
+ PRINT_ERR("unregister chardev partition error:%d\n", ret);
return ret;
}
free(node->chardriver_name);
diff --git a/fs/fat/virpart/src/virpartff.c b/fs/fat/virpart/src/virpartff.c
index 017e6dc9..cbc6b0d8 100644
--- a/fs/fat/virpart/src/virpartff.c
+++ b/fs/fat/virpart/src/virpartff.c
@@ -319,7 +319,7 @@ FRESULT f_regvirfs(FATFS *fs)
/* Set the CHILD object field */
for (i = 0; i < fs->vir_amount; i++) {
- pfs = ff_memalloc(sizeof(FATFS)); /* Allocate a memeory for current child FATFS object */
+ pfs = ff_memalloc(sizeof(FATFS)); /* Allocate a memory for current child FATFS object */
if (pfs == NULL) { /* If allocate failed, must call 'f_unregvirfs' to free the previous FATFS object memory */
goto ERROUT;
}
@@ -500,7 +500,7 @@ static void FatfsSetChildClst(BYTE *work, FATFS *fs, WORD i)
* - FR_OK : The external SD configure is complete, all info has been set to the
* each CHILD FATFS
* - FR_NOT_MATCHED : The virtual partition's configure does not matched as current setting
-* - FR_MODIFIED : The virtual partition's configure has been destoried partly or completely
+* - FR_MODIFIED : The virtual partition's configure has been destroyed partly or completely
* - FR_NOVIRPART : The external SD has not been apllied as virtual partition yet
*
* Others Return Value:
diff --git a/fs/proc/include/proc_fs.h b/fs/proc/include/proc_fs.h
index 14bb5ff3..10acebca 100644
--- a/fs/proc/include/proc_fs.h
+++ b/fs/proc/include/proc_fs.h
@@ -60,7 +60,7 @@ typedef unsigned short fmode_t;
#define FMODE_64BITHASH ((fmode_t)0x400)
/* 32bit hashes as llseek() offset (for directories) */
#define FMODE_32BITHASH ((fmode_t)0x200)
-/* File is opened using open(.., 3, ..) and is writeable only for ioctls
+/* File is opened using open(.., 3, ..) and is writable only for ioctls
* (specialy hack for floppy.c)
*/
#define FMODE_WRITE_IOCTL ((fmode_t)0x100)
diff --git a/fs/proc/src/proc_file.c b/fs/proc/src/proc_file.c
index 408fc2d9..27264da1 100644
--- a/fs/proc/src/proc_file.c
+++ b/fs/proc/src/proc_file.c
@@ -87,7 +87,7 @@ static struct ProcDirEntry *ProcFindNode(struct ProcDirEntry *parent, const char
}
/*
- * descrition: find the file's handle
+ * description: find the file's handle
* path: the file of fullpath
* return: the file of handle
* add by ll
diff --git a/fs/vfs/operation/vfs_other.c b/fs/vfs/operation/vfs_other.c
index 99a513d3..c667170e 100644
--- a/fs/vfs/operation/vfs_other.c
+++ b/fs/vfs/operation/vfs_other.c
@@ -637,7 +637,7 @@ void ls(const char *pathname)
if (statInfo.st_mode & S_IFDIR) { /* list all directory and file */
ret = LsDir((pathname == NULL) ? path : pathname);
- } else { /* show the file infomation */
+ } else { /* show the file information */
ret = LsFile(path);
}
if (ret < 0) {
diff --git a/kernel/base/core/los_swtmr.c b/kernel/base/core/los_swtmr.c
index 3598d274..cb7245ce 100644
--- a/kernel/base/core/los_swtmr.c
+++ b/kernel/base/core/los_swtmr.c
@@ -407,7 +407,7 @@ LITE_OS_SEC_TEXT UINT32 OsSwtmrGetNextTimeout(VOID)
/*
* Description: Stop of Software Timer interface
- * Input : swtmr --- the software timer contrl handler
+ * Input : swtmr --- the software timer control handler
*/
LITE_OS_SEC_TEXT STATIC VOID OsSwtmrStop(SWTMR_CTRL_S *swtmr)
{
@@ -421,7 +421,7 @@ LITE_OS_SEC_TEXT STATIC VOID OsSwtmrStop(SWTMR_CTRL_S *swtmr)
/*
* Description: Get next software timer expiretime
- * Input : swtmr --- the software timer contrl handler
+ * Input : swtmr --- the software timer control handler
*/
LITE_OS_SEC_TEXT STATIC UINT32 OsSwtmrTimeGet(const SWTMR_CTRL_S *swtmr)
{
diff --git a/kernel/base/core/los_task.c b/kernel/base/core/los_task.c
index 28ddc36f..47566f14 100644
--- a/kernel/base/core/los_task.c
+++ b/kernel/base/core/los_task.c
@@ -277,7 +277,7 @@ STATIC INLINE UINT32 OsTaskSyncWait(const LosTaskCB *taskCB)
/*
* gc soft timer works every OS_MP_GC_PERIOD period, to prevent this timer
* triggered right at the timeout has reached, we set the timeout as double
- * of the gc peroid.
+ * of the gc period.
*/
if (LOS_SemPend(taskCB->syncSignal, OS_MP_GC_PERIOD * 2) != LOS_OK) {
ret = LOS_ERRNO_TSK_MP_SYNC_FAILED;
diff --git a/kernel/base/include/los_sched_pri.h b/kernel/base/include/los_sched_pri.h
index 354edf34..08552b5b 100644
--- a/kernel/base/include/los_sched_pri.h
+++ b/kernel/base/include/los_sched_pri.h
@@ -138,28 +138,28 @@ STATIC INLINE BOOL OsSchedIsLock(VOID)
return (OsSchedRunQue()->taskLockCnt != 0);
}
-/* Check if preemptable with counter flag */
+/* Check if preemptible with counter flag */
STATIC INLINE BOOL OsPreemptable(VOID)
{
SchedRunQue *rq = OsSchedRunQue();
/*
* Unlike OsPreemptableInSched, the int may be not disabled when OsPreemptable
- * is called, needs mannually disable interrupt, to prevent current task from
- * being migrated to another core, and get the wrong preeptable status.
+ * is called, needs manually disable interrupt, to prevent current task from
+ * being migrated to another core, and get the wrong preemptable status.
*/
UINT32 intSave = LOS_IntLock();
- BOOL preemptable = (rq->taskLockCnt == 0);
- if (!preemptable) {
+ BOOL preemptible = (rq->taskLockCnt == 0);
+ if (!preemptible) {
/* Set schedule flag if preemption is disabled */
rq->schedFlag |= INT_PEND_RESCH;
}
LOS_IntRestore(intSave);
- return preemptable;
+ return preemptible;
}
STATIC INLINE BOOL OsPreemptableInSched(VOID)
{
- BOOL preemptable = FALSE;
+ BOOL preemptible = FALSE;
SchedRunQue *rq = OsSchedRunQue();
#ifdef LOSCFG_KERNEL_SMP
@@ -167,17 +167,17 @@ STATIC INLINE BOOL OsPreemptableInSched(VOID)
* For smp systems, schedule must hold the task spinlock, and this counter
* will increase by 1 in that case.
*/
- preemptable = (rq->taskLockCnt == 1);
+ preemptible = (rq->taskLockCnt == 1);
#else
- preemptable = (rq->taskLockCnt == 0);
+ preemptible = (rq->taskLockCnt == 0);
#endif
- if (!preemptable) {
+ if (!preemptible) {
/* Set schedule flag if preemption is disabled */
rq->schedFlag |= INT_PEND_RESCH;
}
- return preemptable;
+ return preemptible;
}
STATIC INLINE UINT32 OsSchedGetRunQueIdle(VOID)
diff --git a/kernel/base/include/los_task_pri.h b/kernel/base/include/los_task_pri.h
index 11722cf1..d2b27dc6 100644
--- a/kernel/base/include/los_task_pri.h
+++ b/kernel/base/include/los_task_pri.h
@@ -43,9 +43,9 @@ extern "C" {
/**
* @ingroup los_task
- * Define task siginal types.
+ * Define task signal types.
*
- * Task siginal types.
+ * Task signal types.
*/
#define SIGNAL_NONE 0U
#define SIGNAL_KILL (1U << 0)
diff --git a/kernel/base/ipc/los_queue_debug.c b/kernel/base/ipc/los_queue_debug.c
index d1d6f658..d2a8738d 100644
--- a/kernel/base/ipc/los_queue_debug.c
+++ b/kernel/base/ipc/los_queue_debug.c
@@ -82,7 +82,7 @@ VOID OsQueueDbgUpdate(UINT32 queueID, TSK_ENTRY_FUNC entry)
STATIC INLINE VOID OsQueueInfoOutPut(const LosQueueCB *node)
{
PRINTK("Queue ID <0x%x> may leak, queue len is 0x%x, "
- "readable cnt:0x%x, writeable cnt:0x%x, ",
+ "readable cnt:0x%x, writable cnt:0x%x, ",
node->queueID,
node->queueLen,
node->readWriteableCnt[OS_QUEUE_READ],
diff --git a/kernel/base/mp/los_lockdep.c b/kernel/base/mp/los_lockdep.c
index 93e7ddc0..dae4e0ac 100644
--- a/kernel/base/mp/los_lockdep.c
+++ b/kernel/base/mp/los_lockdep.c
@@ -142,7 +142,7 @@ STATIC VOID OsLockDepDumpLock(const LosTaskCB *task, const SPIN_LOCK_S *lock,
OsPrintLockDepInfo("task name : %s\n", temp->taskName);
OsPrintLockDepInfo("task id : %u\n", temp->taskID);
OsPrintLockDepInfo("cpu num : %u\n", temp->currCpu);
- OsPrintLockDepInfo("start dumping lockdep infomation\n");
+ OsPrintLockDepInfo("start dumping lockdep information\n");
for (i = 0; i < lockDep->lockDepth; i++) {
if (lockDep->heldLocks[i].lockPtr == lock) {
OsPrintLockDepInfo("[%d] %s <-- addr:0x%x\n", i, LOCKDEP_GET_NAME(lockDep, i),
diff --git a/kernel/base/vm/los_vm_syscall.c b/kernel/base/vm/los_vm_syscall.c
index 2b2ac295..1f6d600e 100644
--- a/kernel/base/vm/los_vm_syscall.c
+++ b/kernel/base/vm/los_vm_syscall.c
@@ -387,7 +387,7 @@ STATUS_T OsMremapCheck(VADDR_T addr, size_t oldLen, VADDR_T newAddr, size_t newL
}
}
- /* avoid new region overlaping with the old one */
+ /* avoid new region overlapping with the old one */
if (flags & MREMAP_FIXED) {
if (((region->range.base + region->range.size) > newAddr) &&
(region->range.base < (newAddr + newLen))) {
diff --git a/kernel/common/console.c b/kernel/common/console.c
index 4f072897..b8c59f5f 100644
--- a/kernel/common/console.c
+++ b/kernel/common/console.c
@@ -88,7 +88,7 @@ INT32 GetFilepOps(const struct file *filep, struct file **privFilep, const struc
goto ERROUT;
}
- /* to find console device's filep(now it is *privFilep) throught i_private */
+ /* to find console device's filep(now it is *privFilep) through i_private */
struct drv_data *drv = (struct drv_data *)filep->f_vnode->data;
*privFilep = (struct file *)drv->priv;
if (((*privFilep)->f_vnode == NULL) || ((*privFilep)->f_vnode->data == NULL)) {
@@ -1073,7 +1073,7 @@ STATIC INT32 OsConsoleDevInit(CONSOLE_CB *consoleCB, const CHAR *deviceName)
filep->f_path = NULL;
filep->f_priv = NULL;
/*
- * Use filep to connect console and uart, we can find uart driver function throught filep.
+ * Use filep to connect console and uart, we can find uart driver function through filep.
* now we can operate /dev/console to operate /dev/ttyS0 through filep.
*/
devOps = (struct file_operations_vfs *)((struct drv_data*)vnode->data)->ops;
diff --git a/kernel/extended/cpup/los_cpup.c b/kernel/extended/cpup/los_cpup.c
index 3f996b17..51a3641d 100644
--- a/kernel/extended/cpup/los_cpup.c
+++ b/kernel/extended/cpup/los_cpup.c
@@ -288,8 +288,8 @@ LITE_OS_SEC_TEXT_MINOR STATIC VOID OsCpupGetPos(UINT16 mode, UINT16 *curPosPoint
curPos = CPUP_PRE_POS(tmpPos);
/*
- * The current postion has nothing to do with the CPUP modes,
- * however, the previous postion differs.
+ * The current position has nothing to do with the CPUP modes,
+ * however, the previous position differs.
*/
switch (mode) {
case CPUP_LAST_ONE_SECONDS:
diff --git a/kernel/extended/liteipc/hm_liteipc.c b/kernel/extended/liteipc/hm_liteipc.c
index 2c0b7367..a406ffeb 100644
--- a/kernel/extended/liteipc/hm_liteipc.c
+++ b/kernel/extended/liteipc/hm_liteipc.c
@@ -1161,7 +1161,7 @@ LITE_OS_SEC_TEXT STATIC UINT32 LiteIpcRead(IpcContent *content)
if (ret == LOS_OK) {
break;
}
- if (ret == -ENOENT) { /* It means that we've recieved a failed reply */
+ if (ret == -ENOENT) { /* It means that we've received a failed reply */
return ret;
}
}
diff --git a/kernel/extended/liteipc/hm_liteipc.h b/kernel/extended/liteipc/hm_liteipc.h
index 352c35ff..31938b86 100644
--- a/kernel/extended/liteipc/hm_liteipc.h
+++ b/kernel/extended/liteipc/hm_liteipc.h
@@ -150,8 +150,8 @@ typedef struct {
VOID *data;
UINT32 spObjNum;
VOID *offsets;
- UINT32 processID; /**< filled by kernel, processId of sender/reciever */
- UINT32 taskID; /**< filled by kernel, taskId of sender/reciever */
+ UINT32 processID; /**< filled by kernel, processId of sender/receiver */
+ UINT32 taskID; /**< filled by kernel, taskId of sender/receiver */
#ifdef LOSCFG_SECURITY_CAPABILITY
UINT32 userID;
UINT32 gid;
diff --git a/kernel/extended/trace/los_trace_pri.h b/kernel/extended/trace/los_trace_pri.h
index e1167a5c..7220327b 100644
--- a/kernel/extended/trace/los_trace_pri.h
+++ b/kernel/extended/trace/los_trace_pri.h
@@ -94,7 +94,7 @@ typedef struct {
/**
* @ingroup los_trace
- * struct to store the event infomation
+ * struct to store the event information
*/
typedef struct {
UINT32 cmd; /* trace start or stop cmd */
diff --git a/kernel/extended/trace/trace_offline.c b/kernel/extended/trace/trace_offline.c
index fe33c032..09a804ca 100644
--- a/kernel/extended/trace/trace_offline.c
+++ b/kernel/extended/trace/trace_offline.c
@@ -187,7 +187,7 @@ STATIC VOID OsTraceInfoEventData(VOID)
UINT32 taskLockCnt = frame->core.taskLockCnt;
#ifdef LOSCFG_KERNEL_SMP
/*
- * For smp systems, TRACE_LOCK will requst taskLock, and this counter
+ * For smp systems, TRACE_LOCK will request taskLock, and this counter
* will increase by 1 in that case.
*/
taskLockCnt -= 1;
diff --git a/kernel/include/los_memory.h b/kernel/include/los_memory.h
index e236e44b..935d00f9 100644
--- a/kernel/include/los_memory.h
+++ b/kernel/include/los_memory.h
@@ -59,7 +59,7 @@ extern "C" {
/**
* @ingroup los_memory
- * The recored layers of function call.
+ * The recorded layers of function call.
*/
#define LOS_RECORD_LR_CNT 3
#endif
@@ -101,11 +101,11 @@ extern UINT32 LOS_MemDeInit(VOID *pool);
/**
* @ingroup los_memory
- * @brief Print infomation about all pools.
+ * @brief Print information about all pools.
*
* @par Description:
*
- * - This API is used to print infomation about all pools.
+ * - This API is used to print information about all pools.
*
*
* @retval #UINT32 The pool number.
@@ -351,11 +351,11 @@ extern UINT32 LOS_MemTotalUsedGet(VOID *pool);
/**
* @ingroup los_memory
- * @brief Get the infomation of memory pool.
+ * @brief Get the information of memory pool.
*
* @par Description:
*
- * - This API is used to get the infomation of memory pool.
+ * - This API is used to get the information of memory pool.
*
* @attention
*
@@ -366,7 +366,7 @@ extern UINT32 LOS_MemTotalUsedGet(VOID *pool);
* @param poolStatus [IN] A pointer for storage the pool status
*
* @retval #LOS_NOK The incoming parameter pool is NULL or invalid.
- * @retval #LOS_OK Success to get memory infomation.
+ * @retval #LOS_OK Success to get memory information.
* @par Dependency:
* - los_memory.h: the header file that contains the API declaration.
* @see None.
diff --git a/kernel/include/los_printf.h b/kernel/include/los_printf.h
index d92c83d4..ae4e4949 100644
--- a/kernel/include/los_printf.h
+++ b/kernel/include/los_printf.h
@@ -80,7 +80,7 @@ typedef VOID (*pf_OUTPUT)(const CHAR *fmt, ...);
* - None
*
*
- * @param fmt [IN] Type char* controls the ouput as in C printf.
+ * @param fmt [IN] Type char* controls the output as in C printf.
*
* @retval None
* @par Dependency:
diff --git a/kernel/include/los_rwlock.h b/kernel/include/los_rwlock.h
index 64649323..d60cd391 100644
--- a/kernel/include/los_rwlock.h
+++ b/kernel/include/los_rwlock.h
@@ -184,7 +184,7 @@ extern UINT32 LOS_RwlockTryRdLock(LosRwlock *rwlock);
* the task scheduling.
* is disabled.
* - Do not wait on a rwlock during an interrupt.
- * - The funtion fails when other tasks have the read or write lock.
+ * - The function fails when other tasks have the read or write lock.
* - A recursive rwlock can be locked more than once by the same thread.
* - Do not call this API in software timer callback.
*
@@ -218,7 +218,7 @@ extern UINT32 LOS_RwlockWrLock(LosRwlock *rwlock, UINT32 timeout);
* when the task scheduling.
* is disabled.
* - Do not wait on a rwlock during an interrupt.
- * - The funtion fails when other tasks have the read or write lock.
+ * - The function fails when other tasks have the read or write lock.
* - A recursive rwlock can be locked more than once by the same thread.
* - Do not call this API in software timer callback.
*
diff --git a/kernel/include/los_task.h b/kernel/include/los_task.h
index cf98a09a..007b4bd1 100644
--- a/kernel/include/los_task.h
+++ b/kernel/include/los_task.h
@@ -221,7 +221,7 @@ extern "C" {
/**
* @ingroup los_task
- * Task error code: The task yeild occurs when the task is locked.
+ * Task error code: The task yield occurs when the task is locked.
* Value: 0x0200020f
*
* Solution: Check the task.
@@ -411,7 +411,7 @@ extern "C" {
/**
* @ingroup los_task
- * Task error code: Task yeild in int is not permited, which will result in unexpected result.
+ * Task error code: Task yield in int is not permited, which will result in unexpected result.
*
* Value: 0x02000224
*
diff --git a/kernel/include/los_trace.h b/kernel/include/los_trace.h
index 83691c7e..93371d01 100644
--- a/kernel/include/los_trace.h
+++ b/kernel/include/los_trace.h
@@ -235,7 +235,7 @@ typedef struct {
/**
* @ingroup los_trace
- * struct to store the event infomation
+ * struct to store the event information
*/
typedef struct {
UINT32 eventType; /**< event type */
@@ -377,8 +377,8 @@ extern TRACE_EVENT_HOOK g_traceEventHook;
#define QUEUE_CREATE_PARAMS(queueId, queueSz, itemSz, queueAddr, memType) \
queueId, queueSz, itemSz, queueAddr, memType
#define QUEUE_DELETE_PARAMS(queueId, state, readable) queueId, state, readable
-#define QUEUE_RW_PARAMS(queueId, queueSize, bufSize, operateType, readable, writeable, timeout) \
- queueId, queueSize, bufSize, operateType, readable, writeable, timeout
+#define QUEUE_RW_PARAMS(queueId, queueSize, bufSize, operateType, readable, writable, timeout) \
+ queueId, queueSize, bufSize, operateType, readable, writable, timeout
#define SEM_CREATE_PARAMS(semId, type, count) semId, type, count
#define SEM_DELETE_PARAMS(semId, delRetCode) semId, delRetCode
diff --git a/net/lwip-2.1/enhancement/src/api_shell.c b/net/lwip-2.1/enhancement/src/api_shell.c
index 51426bb6..11aa30a5 100644
--- a/net/lwip-2.1/enhancement/src/api_shell.c
+++ b/net/lwip-2.1/enhancement/src/api_shell.c
@@ -168,7 +168,7 @@ typedef struct ping6_stats {
u32_t max_rtt;
float avg_rtt;
} ping6_stats_t;
-LWIP_STATIC void update_ping6_stats(ping6_stats_t *ping6_stats, u32_t rtt, u32_t nrecieved);
+LWIP_STATIC void update_ping6_stats(ping6_stats_t *ping6_stats, u32_t rtt, u32_t nreceived);
LWIP_STATIC int parse_args_ping6(int argc, const char **argv, ping6_args_t *ping6_params);
u32_t osShellPing6(int argc, const char **argv);
@@ -2086,7 +2086,7 @@ u32_t osShellPing6(int argc, const char **argv)
u16_t icmpv6_seq;
u32_t nsent;
u32_t nrecieve;
- u32_t last_recieved;
+ u32_t last_received;
struct timespec start, end, start_in_reply;
struct timespec first, last;
long rtt;
@@ -2170,7 +2170,7 @@ u32_t osShellPing6(int argc, const char **argv)
ping6_stats.avg_rtt = 0;
ping6_stats.max_rtt = 0;
ping6_stats.min_rtt = 0;
- last_recieved = LWIP_PING6_STARTING_SEQ_NUM + LWIP_PING6_OUT_OF_ORDER_MAGNITUDE + 1;
+ last_received = LWIP_PING6_STARTING_SEQ_NUM + LWIP_PING6_OUT_OF_ORDER_MAGNITUDE + 1;
icmpv6_id = (u16_t)LWIP_RAND();
icmpv6_seq = LWIP_PING6_STARTING_SEQ_NUM;
/* Setting the start time of the entire ping task for statistics */
@@ -2181,7 +2181,7 @@ u32_t osShellPing6(int argc, const char **argv)
for (nsent = 0; nsent < ping6_params.pingcount; nsent++) {
/* capture the start tick to calculate rtt */
(void)clock_gettime(CLOCK_MONOTONIC_RAW, &start);
- /* Initialize Memory To Prevent Unintialized Memory Read Write Issues */
+ /* Initialize Memory To Prevent Uninitialized Memory Read Write Issues */
if (memset_s(pbuf_req->payload, pbuf_req->len, (int)(start.tv_nsec), pbuf_req->len) != 0) {
goto exit;
}
@@ -2253,14 +2253,14 @@ u32_t osShellPing6(int argc, const char **argv)
}
/* Accept and process only those delayed EREP only if its sequence num is within out-of-order magnitude */
if (nsent && iecho_resp->seqno != icmpv6_seq &&
- (iecho_resp->seqno<(u16_t)(last_recieved - LWIP_PING6_OUT_OF_ORDER_MAGNITUDE) ||
+ (iecho_resp->seqno<(u16_t)(last_received - LWIP_PING6_OUT_OF_ORDER_MAGNITUDE) ||
iecho_resp->seqno>(u16_t)(
- last_recieved + LWIP_PING6_OUT_OF_ORDER_MAGNITUDE))) {
+ last_received + LWIP_PING6_OUT_OF_ORDER_MAGNITUDE))) {
/* Otherwise drop it and wait for more packets */
goto REDUCE_SELECT_TIME;
}
++nrecieve;
- last_recieved = iecho_resp->seqno;
+ last_received = iecho_resp->seqno;
/* Retrieving the start_tick from the packet which was embedded when the request was transmitted */
(void)pbuf_header(pbuf_resp, (s16_t)(-(s16_t)(sizeof(struct icmp6_echo_hdr))));
if (memcpy_s((void *)&start_in_reply, sizeof(start_in_reply),
@@ -2314,7 +2314,7 @@ REDUCE_SELECT_TIME:
nsent, nrecieve, (float)(((float)(nsent - nrecieve)) * ((float)(100)) / ((float)(nsent))),
((last.tv_sec - first.tv_sec) * 1000 + (last.tv_nsec - first.tv_nsec) / 1000000));
if (nrecieve) {
- /* Display rtt stats only if atleast one packet is recieved */
+ /* Display rtt stats only if atleast one packet is received */
PRINTK("rtt min/avg/max = %u/%.2f/%u ms\n", ping6_stats.min_rtt, ping6_stats.avg_rtt, ping6_stats.max_rtt);
}
@@ -2550,7 +2550,7 @@ exit:
* Function to update ping6_stats
* stats is maintained in ping6_stats structure
*/
-LWIP_STATIC void update_ping6_stats(ping6_stats_t *ping6_stats, u32_t rtt, u32_t nrecieved)
+LWIP_STATIC void update_ping6_stats(ping6_stats_t *ping6_stats, u32_t rtt, u32_t nreceived)
{
if (rtt > ping6_stats->max_rtt) {
ping6_stats->max_rtt = rtt;
@@ -2562,7 +2562,7 @@ LWIP_STATIC void update_ping6_stats(ping6_stats_t *ping6_stats, u32_t rtt, u32_t
}
ping6_stats->avg_rtt = (float)(ping6_stats->avg_rtt +
- (float)((float)((float)rtt - ping6_stats->avg_rtt) / (float)(nrecieved)));
+ (float)((float)((float)rtt - ping6_stats->avg_rtt) / (float)(nreceived)));
}
LWIP_STATIC const char *convert_icmpv6_err_to_string(u8_t err_type)
diff --git a/net/lwip-2.1/porting/src/driverif.c b/net/lwip-2.1/porting/src/driverif.c
index ed233838..7ddf065b 100644
--- a/net/lwip-2.1/porting/src/driverif.c
+++ b/net/lwip-2.1/porting/src/driverif.c
@@ -88,7 +88,7 @@ driverif_init_ifname(struct netif *netif)
*
* @note Returning ERR_MEM here if a DMA queue of your MAC is full can lead to
* strange results. You might consider waiting for space in the DMA queue
- * to become availale since the stack doesn't retry to send a packet
+ * to become available since the stack doesn't retry to send a packet
* dropped because of memory failure (except for the TCP timers).
*/
diff --git a/net/lwip-2.1/porting/src/sys_arch.c b/net/lwip-2.1/porting/src/sys_arch.c
index 7e08ec57..5ea9bb4a 100644
--- a/net/lwip-2.1/porting/src/sys_arch.c
+++ b/net/lwip-2.1/porting/src/sys_arch.c
@@ -84,7 +84,7 @@ void sys_init(void)
u32_t sys_now(void)
{
- /* Lwip docs mentioned like wraparound is not a problem in this funtion */
+ /* Lwip docs mentioned like wraparound is not a problem in this function */
return (u32_t)((LOS_TickCountGet() * OS_SYS_MS_PER_SECOND) / LOSCFG_BASE_CORE_TICK_PER_SECOND);
}
diff --git a/net/telnet/src/telnet_loop.c b/net/telnet/src/telnet_loop.c
index f68ed91b..87bb188f 100644
--- a/net/telnet/src/telnet_loop.c
+++ b/net/telnet/src/telnet_loop.c
@@ -427,7 +427,7 @@ STATIC INT32 TelnetdAcceptClient(INT32 clientFd, const struct sockaddr_in *inTel
}
if (g_telnetClientFd >= 0) {
- /* alreay connected and support only one */
+ /* already connected and support only one */
goto ERROUT_UNLOCK;
}
diff --git a/shell/full/include/shell_lk.h b/shell/full/include/shell_lk.h
index 4dd13833..6bf90828 100644
--- a/shell/full/include/shell_lk.h
+++ b/shell/full/include/shell_lk.h
@@ -62,7 +62,7 @@ extern "C" {
* @param level [IN] print level.
* @param func [IN] means which func calls print func.
* @param line [IN] means which line calls print func.
- * @param fmt [IN] other infomation by user define.
+ * @param fmt [IN] other information by user define.
* @param ap [IN] the para list.
*
* @retval None.
@@ -85,7 +85,7 @@ typedef VOID (*LK_FUNC)(INT32 level, const CHAR *func, INT32 line, const CHAR *f
* @param level [IN] print level.
* @param func [IN] means which func calls print func.
* @param line [IN] means which line calls print func.
- * @param fmt [IN] other infomation by user define
+ * @param fmt [IN] other information by user define
*
* @retval NONE
* @par Dependency:
diff --git a/shell/full/src/base/shcmd.c b/shell/full/src/base/shcmd.c
index db836925..9e6e7894 100644
--- a/shell/full/src/base/shcmd.c
+++ b/shell/full/src/base/shcmd.c
@@ -424,7 +424,7 @@ STATIC INT32 OsTabMatchFile(CHAR *cmdKey, UINT32 *len)
* Description: Pass in the string and clear useless space, which include:
* 1) The overmatch space which is not be marked by Quote's area
* Squeeze the overmatch space into one space
- * 2) Clear all space before first valid charatctor
+ * 2) Clear all space before first valid character
* Input: cmdKey : Pass in the buff string, which is ready to be operated
* cmdOut : Pass out the buffer string ,which has already been operated
* size : cmdKey length
@@ -452,17 +452,17 @@ LITE_OS_SEC_TEXT_MINOR UINT32 OsCmdKeyShift(const CHAR *cmdKey, CHAR *cmdOut, UI
}
/* Backup the 'output' start address */
outputBak = output;
- /* Scan each charactor in 'cmdKey',and squeeze the overmuch space and ignore invalid charactor */
+ /* Scan each character in 'cmdKey',and squeeze the overmuch space and ignore invalid character */
for (; *cmdKey != '\0'; cmdKey++) {
/* Detected a Double Quotes, switch the matching status */
if (*(cmdKey) == '\"') {
SWITCH_QUOTES_STATUS(quotes);
}
- /* Ignore the current charactor in following situation */
+ /* Ignore the current character in following situation */
/* 1) Quotes matching status is FALSE (which said that the space is not been marked by double quotes) */
- /* 2) Current charactor is a space */
- /* 3) Next charactor is a space too, or the string is been seeked to the end already(\0) */
- /* 4) Invalid charactor, such as single quotes */
+ /* 2) Current character is a space */
+ /* 3) Next character is a space too, or the string is been seeked to the end already(\0) */
+ /* 4) Invalid character, such as single quotes */
if ((*cmdKey == ' ') && ((*(cmdKey + 1) == ' ') || (*(cmdKey + 1) == '\0')) && QUOTES_STATUS_CLOSE(quotes)) {
continue;
}
@@ -476,7 +476,7 @@ LITE_OS_SEC_TEXT_MINOR UINT32 OsCmdKeyShift(const CHAR *cmdKey, CHAR *cmdOut, UI
/* Restore the 'output' start address */
output = outputBak;
len = strlen(output);
- /* Clear the space which is located at the first charactor in buffer */
+ /* Clear the space which is located at the first character in buffer */
if (*outputBak == ' ') {
output++;
len--;
diff --git a/shell/full/src/base/shmsg.c b/shell/full/src/base/shmsg.c
index 9c92de2f..cf07fa48 100644
--- a/shell/full/src/base/shmsg.c
+++ b/shell/full/src/base/shmsg.c
@@ -250,7 +250,7 @@ STATIC UINT32 ShellMsgNameGetAndExec(CmdParsed *cmdParsed, const CHAR *output, U
continue;
}
/* If detected a space which the quotes matching status is false */
- /* which said has detected the first space for seperator, finish this scan operation */
+ /* which said has detected the first space for separator, finish this scan operation */
if ((*tmpStr == ' ') && (QUOTES_STATUS_CLOSE(quotes))) {
break;
}
diff --git a/syscall/los_syscall.h b/syscall/los_syscall.h
index ed89260d..0e2405a4 100644
--- a/syscall/los_syscall.h
+++ b/syscall/los_syscall.h
@@ -269,7 +269,7 @@ extern int SysFstatfs64(int fd, size_t sz, struct statfs *buf);
extern int SysStat(const char *path, struct kstat *buf);
extern int SysLstat(const char *path, struct kstat *buffer);
-extern int SysFstat(int fildes, struct kstat *buf);
+extern int SysFstat(int fields, struct kstat *buf);
extern int SysStatx(int fd, const char *restrict path, int flag, unsigned mask, struct statx *restrict stx);
extern int SysFsync(int fd);
extern ssize_t SysReadv(int fd, const struct iovec *iov, int iovcnt);
diff --git a/testsuites/kernel/sample/kernel_base/core/hwi/smp/It_smp_los_hwi_006.c b/testsuites/kernel/sample/kernel_base/core/hwi/smp/It_smp_los_hwi_006.c
index f3d58cda..46c9eaca 100644
--- a/testsuites/kernel/sample/kernel_base/core/hwi/smp/It_smp_los_hwi_006.c
+++ b/testsuites/kernel/sample/kernel_base/core/hwi/smp/It_smp_los_hwi_006.c
@@ -82,7 +82,7 @@ static UINT32 Testcase(void)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 1, g_testCount, EXIT);
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/core/hwi/smp/It_smp_los_hwi_ipi_007.c b/testsuites/kernel/sample/kernel_base/core/hwi/smp/It_smp_los_hwi_ipi_007.c
index e8decb70..6918fd91 100644
--- a/testsuites/kernel/sample/kernel_base/core/hwi/smp/It_smp_los_hwi_ipi_007.c
+++ b/testsuites/kernel/sample/kernel_base/core/hwi/smp/It_smp_los_hwi_ipi_007.c
@@ -109,7 +109,7 @@ static UINT32 Testcase(void)
LOS_TaskDelay(1);
PRINTK("sent %u time\n", g_ipiTriggerTimes);
for (i = 0; i < LOSCFG_KERNEL_CORE_NUM; i++) {
- PRINTK(" cpu%d recieved %u times\n", i, g_ipiRecieveTimes[i]);
+ PRINTK(" cpu%d received %u times\n", i, g_ipiRecieveTimes[i]);
}
ICUNIT_GOTO_EQUAL(g_testCount, LOSCFG_KERNEL_CORE_NUM * (j + 1), g_testCount, EXIT);
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_023.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_023.c
index 67ec758f..36434693 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_023.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_023.c
@@ -62,7 +62,7 @@ static UINT32 Testcase(void)
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
/* Wait TaskF01 to start */
- TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test runing count
+ TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test running count
TestBusyTaskDelay(2); // 2, set delay time
ret = OS_TCB_FROM_TID(testid)->taskStatus;
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_026.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_026.c
index d0ba60e3..6716c6ab 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_026.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_026.c
@@ -74,7 +74,7 @@ static UINT32 Testcase(void)
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
/* Wait TaskF1 to start */
- TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test runing count
+ TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test running count
ICUNIT_ASSERT_EQUAL(g_testCount, 1, g_testCount);
/* lower down the priority of TaskF01 to trigger preeption */
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_040.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_040.c
index 4b4e6cbd..1b5ecc8e 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_040.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_040.c
@@ -63,7 +63,7 @@ static UINT32 Testcase(void)
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
}
- /* wait for task to yeild */
+ /* wait for task to yield */
TestBusyTaskDelay(LOSCFG_BASE_CORE_TIMESLICE_TIMEOUT * 2); // 2, used to calculate delay time
ICUNIT_GOTO_EQUAL(g_testCount, LOSCFG_KERNEL_CORE_NUM, g_testCount, EXIT);
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_061.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_061.c
index 9e2374ed..cdf9a878 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_061.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_061.c
@@ -66,7 +66,7 @@ static UINT32 Testcase(void)
ret = LOS_TaskCreate(&g_testTaskID01, &task1);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
TestBusyTaskDelay(2); // 2, set delay time
@@ -91,7 +91,7 @@ static UINT32 Testcase(void)
ret = LOS_SemPost(g_semID);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count
TestBusyTaskDelay(2); // 2, set delay time
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_063.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_063.c
index dca92afd..b15acee9 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_063.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_063.c
@@ -70,7 +70,7 @@ static UINT32 Testcase(void)
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
/* Wait TaskF01 to start */
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, assert that g_testCount is equal to this.
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_065.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_065.c
index b10d581b..5274085d 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_065.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_065.c
@@ -84,7 +84,7 @@ static UINT32 Testcase(void)
ret = LOS_TaskCreate(&g_testTaskID01, &task1);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
TestBusyTaskDelay(2); // 2, set delay time
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_067.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_067.c
index 655693a9..0b9fe91c 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_067.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_067.c
@@ -89,7 +89,7 @@ static UINT32 Testcase(void)
ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT);
/* Wait TaskF01 to start */
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
TestBusyTaskDelay(2); // 2, set delay time
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_069.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_069.c
index f74217e6..4a66a49c 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_069.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_069.c
@@ -82,7 +82,7 @@ static UINT32 Testcase(void)
ret = LOS_TaskCreate(&g_testTaskID01, &task1);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
TestBusyTaskDelay(2); // 2, set delay time
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_072.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_072.c
index a74f2e81..489812d8 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_072.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_072.c
@@ -66,7 +66,7 @@ static UINT32 Testcase(void)
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
/* wait for other core's task being schduled */
- TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test runing count
+ TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test running count
TestBusyTaskDelay(2); // 2, set delay time
ret = OS_TCB_FROM_TID(g_testTaskID01)->taskStatus;
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_075.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_075.c
index be729615..8cfcd026 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_075.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_075.c
@@ -83,7 +83,7 @@ static UINT32 Testcase(void)
ret = LOS_TaskCreate(&g_testTaskID01, &task1);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test runing count
+ TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test running count
TestBusyTaskDelay(2); // 2, set delay time
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_077.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_077.c
index 87ebefe0..1dbe1089 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_077.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_077.c
@@ -73,7 +73,7 @@ static UINT32 Testcase(void)
ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT);
/* wait for other core's task being scheduled */
- TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test runing count
+ TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test running count
TestBusyTaskDelay(2); // 2, set delay time
@@ -98,7 +98,7 @@ static UINT32 Testcase(void)
ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT);
/* wait for other core's task executed */
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count
TestBusyTaskDelay(4); // 4, set delay time
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_089.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_089.c
index 18314bb3..ac9ac3d7 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_089.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_089.c
@@ -81,7 +81,7 @@ static UINT32 Testcase(void)
ret = LOS_TaskCreate(&g_testTaskID02, &task1);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test runing count
+ TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test running count
TestBusyTaskDelay(2); // 2, set delay time
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_091.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_091.c
index 520136b2..acaeacba 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_091.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_091.c
@@ -67,7 +67,7 @@ static UINT32 Testcase(void)
ret = LOS_TaskCreate(&g_testTaskID01, &task1);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
TestBusyTaskDelay(2); // 2, set delay time
@@ -89,7 +89,7 @@ static UINT32 Testcase(void)
ret = LOS_SemPost(g_semID);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count
TestBusyTaskDelay(2); // 2, set delay time
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_093.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_093.c
index ec6cefa4..38524eef 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_093.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_093.c
@@ -89,7 +89,7 @@ static UINT32 Testcase(void)
ret = LOS_TaskCreate(&g_testTaskID01, &task1);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
TestBusyTaskDelay(2); // 2, set delay time
@@ -116,7 +116,7 @@ static UINT32 Testcase(void)
ret = LOS_SemPost(g_semID);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 5); // 100, Set the timeout of runtime; 5, test runing count
+ TestAssertBusyTaskDelay(100, 5); // 100, Set the timeout of runtime; 5, test running count
ICUNIT_ASSERT_EQUAL(g_testCount, 5, g_testCount); // 5, assert that g_testCount is equal to this.
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_096.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_096.c
index af4577b6..70f359d7 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_096.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_096.c
@@ -78,7 +78,7 @@ static UINT32 Testcase(void)
ret = LOS_TaskCreate(&g_testTaskID01, &task1);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
TestBusyTaskDelay(2); // 2, set delay time
ICUNIT_ASSERT_EQUAL(g_testCount, 2, g_testCount); // 2, assert that g_testCount is equal to this.
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_097.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_097.c
index 7b52785c..9d57864c 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_097.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_097.c
@@ -81,7 +81,7 @@ static UINT32 Testcase(void)
ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT);
/* Wait other core's TaskF01 to resume */
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count
TestBusyTaskDelay(2); // 2, set delay time
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_101.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_101.c
index 29081da1..7163f044 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_101.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_101.c
@@ -84,7 +84,7 @@ static UINT32 Testcase(void)
ret = LOS_TaskCreate(&g_testTaskID02, &task1);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test runing count
+ TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test running count
TestBusyTaskDelay(2); // 2, set delay time
@@ -111,7 +111,7 @@ static UINT32 Testcase(void)
/* unlock other core's tasklock */
g_flag = 1;
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
TestBusyTaskDelay(2); // 2, set delay time
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_102.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_102.c
index 994213f1..44febc70 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_102.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_102.c
@@ -84,7 +84,7 @@ static UINT32 Testcase(void)
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
/* wait for other core's task to suspend */
- TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test runing count
+ TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test running count
TestBusyTaskDelay(2); // 2, set delay time
@@ -99,7 +99,7 @@ static UINT32 Testcase(void)
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
/* wait for other core's task being running */
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
TestBusyTaskDelay(10); // 10, set delay time
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, assert that g_testCount is equal to this.
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_106.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_106.c
index 5cb451f0..b8151a02 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_106.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_106.c
@@ -68,7 +68,7 @@ static UINT32 Testcase(void)
ret = LOS_TaskCreate(&g_testTaskID01, &task1);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
// 2, set delay time.
TestBusyTaskDelay(2);
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_130.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_130.c
index e66335b0..fdd52701 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_130.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_130.c
@@ -93,7 +93,7 @@ static UINT32 Testcase(void)
ret = LOS_TaskYield();
ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT);
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT); // 3, assert that g_testCount is equal to this.
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_137.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_137.c
index c2a9c275..af1af9c1 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_137.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_137.c
@@ -75,7 +75,7 @@ static UINT32 Testcase(void)
ret = OS_TCB_FROM_TID(g_testTaskID02)->taskStatus;
ICUNIT_ASSERT_NOT_EQUAL((ret & OS_TASK_STATUS_READY), 0, ret);
- TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test runing count
+ TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test running count
ICUNIT_ASSERT_NOT_EQUAL(g_testCount, 0, g_testCount);
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_143.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_143.c
index a88d61de..fc6c26f3 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_143.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_143.c
@@ -84,7 +84,7 @@ static UINT32 Testcase(void)
LOS_TaskUnlock();
/* wait for TaskF01 is finished */
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_ASSERT_EQUAL(g_testCount, 1, g_testCount);
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_150.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_150.c
index e788126c..060bdc3c 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_150.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_150.c
@@ -74,7 +74,7 @@ static UINT32 Testcase(void)
ret = LOS_TaskCreate(&g_testTaskID01, &task1);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
TestBusyTaskDelay(5); // 5, set delay time
@@ -95,7 +95,7 @@ static UINT32 Testcase(void)
ret = LOS_SemPost(g_semID);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count
ICUNIT_ASSERT_EQUAL(g_testCount, 3, g_testCount); // 3, assert that g_testCount is equal to this.
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_152.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_152.c
index 56f2a040..94edc0d4 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_152.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_152.c
@@ -71,7 +71,7 @@ static UINT32 Testcase(void)
ret = LOS_TaskCreate(&g_testTaskID01, &task1);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
TestBusyTaskDelay(2); // 2, set delay time
@@ -93,7 +93,7 @@ static UINT32 Testcase(void)
ret = LOS_TaskResume(g_testTaskID01);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count
ICUNIT_ASSERT_EQUAL(g_testCount, 3, g_testCount); // 3, assert that g_testCount is equal to this.
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_156.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_156.c
index 53a79e50..162f8e84 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_156.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_156.c
@@ -84,7 +84,7 @@ static UINT32 Testcase(void)
ret = LOS_TaskCreate(&g_testTaskID02, &task1);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test runing count
+ TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test running count
LOS_AtomicInc(&g_testCount);
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_159.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_159.c
index 50a91c21..c0d7e7b3 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_159.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_159.c
@@ -94,7 +94,7 @@ static UINT32 Testcase(void)
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
/* wait for task02 start */
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
for (j = 0; j < TRandom() % 200; j++) { // 200, Number of cycles.
}
diff --git a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_161.c b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_161.c
index fd982d98..f46c15e1 100644
--- a/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_161.c
+++ b/testsuites/kernel/sample/kernel_base/core/task/smp/It_smp_los_task_161.c
@@ -69,7 +69,7 @@ static UINT32 Testcase(void)
ret = LOS_TaskCreate(&g_testTaskID02, &task1);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test runing count
+ TestAssertBusyTaskDelay(100, 1); // 100, Set the timeout of runtime; 1, test running count
ICUNIT_ASSERT_EQUAL(g_testCount, 1, g_testCount);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/event/full/It_los_event_003.c b/testsuites/kernel/sample/kernel_base/ipc/event/full/It_los_event_003.c
index 71b5045f..f64c9979 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/event/full/It_los_event_003.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/event/full/It_los_event_003.c
@@ -77,7 +77,7 @@ static UINT32 Testcase(VOID)
g_testCount++;
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT); // 3, Here, assert that g_testCount is equal to 3.
EXIT:
LOS_TaskDelete(g_testTaskID01);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/event/full/It_los_event_015.c b/testsuites/kernel/sample/kernel_base/ipc/event/full/It_los_event_015.c
index 9f137bd8..e694d325 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/event/full/It_los_event_015.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/event/full/It_los_event_015.c
@@ -86,7 +86,7 @@ static UINT32 Testcase(VOID)
LOS_EventWrite(&g_event, 0x1111);
ICUNIT_GOTO_EQUAL(g_testCount, 1, g_testCount, EXIT);
- TestAssertBusyTaskDelay(100, 4); // 100, Set the timeout of runtime; 4, test runing count
+ TestAssertBusyTaskDelay(100, 4); // 100, Set the timeout of runtime; 4, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 4, g_testCount, EXIT1); // 4, Here, assert that g_testCount is equal to 4.
EXIT1:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_002.c b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_002.c
index cd8464af..507f4426 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_002.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_002.c
@@ -69,7 +69,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID01, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_003.c b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_003.c
index 7c8ba93f..05a2fb52 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_003.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_003.c
@@ -71,7 +71,7 @@ static UINT32 Testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
EXIT:
LOS_HwiDelete(HWI_NUM_TEST, NULL);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_008.c b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_008.c
index 5e29b577..aa34c8cc 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_008.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_008.c
@@ -72,7 +72,7 @@ static UINT32 Testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
diff --git a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_011.c b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_011.c
index 39562043..98e53d83 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_011.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_011.c
@@ -89,7 +89,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT); // 3, Here, assert that g_testCount is equal to 3.
ret = LOS_EventDestroy(&g_event);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_014.c b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_014.c
index 5c85cba6..62c82d6d 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_014.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_014.c
@@ -91,7 +91,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_015.c b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_015.c
index c4a6237c..346f9652 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_015.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_015.c
@@ -99,7 +99,7 @@ static UINT32 Testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT); // 3, Here, assert that g_testCount is equal to 3.
diff --git a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_018.c b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_018.c
index e915da88..9f64a437 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_018.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_018.c
@@ -72,7 +72,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID01, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_021.c b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_021.c
index 315ccf0a..2144965b 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_021.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_021.c
@@ -74,7 +74,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID01, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
ret = LOS_EventDestroy(&g_event);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_022.c b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_022.c
index 7b9623f3..7de02441 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_022.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_022.c
@@ -86,7 +86,7 @@ static UINT32 Testcase(VOID)
ICUNIT_GOTO_EQUAL(g_testCount, 1, g_testCount, EXIT);
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
ret = LOS_EventDestroy(&g_event);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_023.c b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_023.c
index d93367d3..aa552f59 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_023.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_023.c
@@ -89,7 +89,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_024.c b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_024.c
index 59c29cbc..54c3bbf9 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_024.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_024.c
@@ -89,7 +89,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_025.c b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_025.c
index 48f9e3b4..63c10b79 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_025.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_025.c
@@ -93,7 +93,7 @@ static UINT32 Testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_031.c b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_031.c
index 0cf5b4ab..e75f81b1 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_031.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_031.c
@@ -45,7 +45,7 @@ static VOID TaskF01(VOID)
LOS_AtomicInc(&g_testCount);
ret = LOS_EventRead(&g_event, 0x11, LOS_WAITMODE_AND, LOS_WAIT_FOREVER);
/*
- * write event ---> read event ---> destory event [pass]
+ * write event ---> read event ---> destroy event [pass]
* write event ---> destroy event ---> read event [fail]
*/
LOS_AtomicInc(&g_testCount);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_032.c b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_032.c
index 9c56de16..cc6bd21f 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_032.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_032.c
@@ -111,7 +111,7 @@ static UINT32 Testcase(void)
} else if ((g_ret1 == 0x00) && (g_ret2 == LOS_OK) && (g_ret3 == LOS_OK)) {
/*
* (g_ret1 == 0) && (g_ret2 == 0) && (uwRet3 == 0)
- * try read -->write event ---resume read---> destory event ---> read event [fail]
+ * try read -->write event ---resume read---> destroy event ---> read event [fail]
*/
} else {
ICUNIT_GOTO_EQUAL(1, 0, g_ret1, EXIT);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_035.c b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_035.c
index 78097cee..e2a45178 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_035.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/event/smp/It_smp_los_event_035.c
@@ -100,13 +100,13 @@ static UINT32 Testcase(VOID)
ret = LOS_EventWrite(&g_event, 0x11); // try to wake task f01
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- // 100, Set the timeout of runtime; 2, test runing count
+ // 100, Set the timeout of runtime; 2, test running count
TestAssertBusyTaskDelay(100, 2); // cause tasklock on other cpu ,so task f01 wake failed
LOS_AtomicInc(&g_testCount);
g_runFlag = 0; // unlock the other cpu
- // 100, Set the timeout of runtime; 4, test runing count
+ // 100, Set the timeout of runtime; 4, test running count
TestAssertBusyTaskDelay(100, 4); // not schedule in current cpu cause tasklock
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/mux/smp/It_smp_los_mux_2026.c b/testsuites/kernel/sample/kernel_base/ipc/mux/smp/It_smp_los_mux_2026.c
index 26453953..95fd8a97 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/mux/smp/It_smp_los_mux_2026.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/mux/smp/It_smp_los_mux_2026.c
@@ -103,7 +103,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID01, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- LOS_TaskDelay(2); // test task's prio be seted 22
+ LOS_TaskDelay(2); // test task's prio be set 22
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT);
LOS_TaskLock();
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_002.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_002.c
index f0ce7b8b..8273d04f 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_002.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_002.c
@@ -70,7 +70,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID01, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count.
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_003.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_003.c
index dd5209cc..79006c92 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_003.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_003.c
@@ -72,7 +72,7 @@ static UINT32 Testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count.
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_005.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_005.c
index e0b2a777..0b87c5a4 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_005.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_005.c
@@ -87,7 +87,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count.
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_007.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_007.c
index b55da27e..9c0a1be4 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_007.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_007.c
@@ -88,7 +88,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count.
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_008.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_008.c
index f479e474..e896122c 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_008.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_008.c
@@ -73,7 +73,7 @@ static UINT32 Testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count.
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
ret = LOS_QueueDelete(g_testQueueID01);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_009.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_009.c
index 23b84f9f..252206a8 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_009.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_009.c
@@ -94,7 +94,7 @@ static UINT32 Testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count.
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT);
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_011.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_011.c
index c3aa061e..1df85c1e 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_011.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_011.c
@@ -88,7 +88,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count.
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT); // 3, Here, assert that g_testCount is equal to 3.
ret = LOS_QueueDelete(g_testQueueID01);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_012.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_012.c
index b55cd1c3..1be46ee1 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_012.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_012.c
@@ -90,7 +90,7 @@ static UINT32 Testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count.
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT); // 3, Here, assert that g_testCount is equal to 3.
ret = LOS_QueueDelete(g_testQueueID01);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_013.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_013.c
index 490f544e..a3d1098a 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_013.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_013.c
@@ -95,7 +95,7 @@ static UINT32 Testcase(VOID)
ret = LOS_QueueWrite(g_testQueueID01, &g_buff1, 8, LOS_WAIT_FOREVER); // 8, Write the setting size of queue buffer.;
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count.
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT); // 3, Here, assert that g_testCount is equal to 3.
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_014.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_014.c
index 34f906a4..4a2c4dee 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_014.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_014.c
@@ -96,7 +96,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count.
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT); // 3, Here, assert that g_testCount is equal to 3.
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_015.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_015.c
index 52cbff0e..7fbb85b1 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_015.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_015.c
@@ -99,7 +99,7 @@ static UINT32 Testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count.
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT); // 3, Here, assert that g_testCount is equal to 3.
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_018.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_018.c
index ab0b9445..7603416a 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_018.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_018.c
@@ -73,7 +73,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID01, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count.
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_021.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_021.c
index 24319b56..16df0c11 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_021.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_021.c
@@ -75,7 +75,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID01, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count.
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
ret = LOS_QueueDelete(g_testQueueID01);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_022.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_022.c
index e773f5ef..d956d06e 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_022.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_022.c
@@ -90,7 +90,7 @@ static UINT32 Testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count.
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
ret = LOS_QueueDelete(g_testQueueID01);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_023.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_023.c
index ee814318..84fe4693 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_023.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_023.c
@@ -92,7 +92,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count.
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_024.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_024.c
index 43a83fe3..8c012384 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_024.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_024.c
@@ -88,7 +88,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count.
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_025.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_025.c
index ecc8997c..61b11d7a 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_025.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_025.c
@@ -94,7 +94,7 @@ static UINT32 Testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count.
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
EXIT:
LOS_TaskDelete(g_testTaskID01);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_026.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_026.c
index 89df643e..a61301cc 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_026.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_026.c
@@ -106,7 +106,7 @@ static UINT32 Testcase(VOID)
ret = LOS_QueueWrite(g_testQueueID01, &g_buff1, 8, LOS_WAIT_FOREVER); // 8, Write the setting size of queue buffer.
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count.
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT1); // 3, Here, assert that g_testCount is equal to 3.
ret = LOS_QueueWrite(g_testQueueID01, &g_buff1, 8, LOS_WAIT_FOREVER); // 8, Write the setting size of queue buffer.
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_027.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_027.c
index 0a75659e..5f5537d5 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_027.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_027.c
@@ -103,7 +103,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID01, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count.
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
/* wait for task01 to pend sem */
@@ -129,7 +129,7 @@ static UINT32 Testcase(VOID)
g_runFlag = 0; // unlock the other cpu
PRINT_DEBUG("finally\n");
- TestAssertBusyTaskDelay(100, 4); // 100, Set the timeout of runtime; 4, test runing count.
+ TestAssertBusyTaskDelay(100, 4); // 100, Set the timeout of runtime; 4, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 4, g_testCount, EXIT); // 4, Here, assert that g_testCount is equal to 4.
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_029.c b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_029.c
index 3b22c3ce..a0ffc54f 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_029.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/queue/smp/It_smp_los_queue_029.c
@@ -89,7 +89,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count.
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to 2.
/* wait for task01 to pend sem */
@@ -104,7 +104,7 @@ static UINT32 Testcase(VOID)
ret = LOS_QueueWrite(g_testQueueID01, &g_buff1, 8, LOS_WAIT_FOREVER); // 8, Write the setting size of queue buffer.
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count.
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count.
ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT); // 3, Here, assert that g_testCount is equal to 3.
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_002.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_002.c
index 1efaf285..9b1b4b1e 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_002.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_002.c
@@ -69,7 +69,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID01, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_003.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_003.c
index 20fc07f4..16988f07 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_003.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_003.c
@@ -71,7 +71,7 @@ static UINT32 Testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_005.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_005.c
index d4af7754..05d265a4 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_005.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_005.c
@@ -85,7 +85,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to
TestBusyTaskDelay(1);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_007.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_007.c
index 7ca8611d..0121e8de 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_007.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_007.c
@@ -92,7 +92,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to
/* wait for task1 to pend sem */
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_008.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_008.c
index 15772fd2..fc02f412 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_008.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_008.c
@@ -73,7 +73,7 @@ static UINT32 Testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(200, 2); // 200, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(200, 2); // 200, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert the result
ret = LOS_SemDelete(g_semID);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_009.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_009.c
index 72260479..df74f15d 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_009.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_009.c
@@ -95,7 +95,7 @@ static UINT32 Testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(200, 2); // 200, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(200, 2); // 200, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_011.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_011.c
index 9df65de7..fa11bf47 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_011.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_011.c
@@ -88,7 +88,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT); // 3, Here, assert that g_testCount is equal to
ret = LOS_SemDelete(g_semID);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_012.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_012.c
index 117b212c..ef6f657e 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_012.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_012.c
@@ -89,7 +89,7 @@ static UINT32 Testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to
ret = LOS_SemDelete(g_semID);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_013.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_013.c
index e6d603b0..07731374 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_013.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_013.c
@@ -94,7 +94,7 @@ static UINT32 Testcase(VOID)
ret = LOS_SemPost(g_semID);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_014.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_014.c
index 04339c5a..39906dc5 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_014.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_014.c
@@ -90,7 +90,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_015.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_015.c
index 65e42aaf..bafcd493 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_015.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_015.c
@@ -98,7 +98,7 @@ static UINT32 Testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT); // 3, Here, assert that g_testCount is equal to
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_018.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_018.c
index 57b48fff..320386e7 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_018.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_018.c
@@ -73,7 +73,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID01, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_021.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_021.c
index be508e13..c5955132 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_021.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_021.c
@@ -73,7 +73,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID01, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to
ret = LOS_SemDelete(g_semID);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_022.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_022.c
index 9430eeab..7109d6d3 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_022.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_022.c
@@ -90,7 +90,7 @@ static UINT32 testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to
ret = LOS_SemDelete(g_semID);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_023.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_023.c
index 71c02351..4d093330 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_023.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_023.c
@@ -90,7 +90,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_024.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_024.c
index 1da69829..f25052c7 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_024.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_024.c
@@ -85,7 +85,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_025.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_025.c
index 9a5bf434..27f23248 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_025.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_025.c
@@ -96,7 +96,7 @@ static UINT32 testcase(VOID)
TestHwiTrigger(HWI_NUM_TEST);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_026.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_026.c
index 8618e833..76c8490c 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_026.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_026.c
@@ -96,13 +96,13 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID02, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to
ret = LOS_SemPost(g_semID);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test runing count
+ TestAssertBusyTaskDelay(100, 3); // 100, Set the timeout of runtime; 3, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT); // 3, Here, assert that g_testCount is equal to
if ((g_ret1 + g_ret2 == 0xff) && (TestAbs(g_ret1, g_ret2) == 0xff))
ICUNIT_GOTO_EQUAL(1, 1, g_ret1, EXIT);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_027.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_027.c
index addd5d63..845b7e12 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_027.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_027.c
@@ -114,7 +114,7 @@ static UINT32 Testcase(VOID)
ret = LOS_SemPost(g_semID); // sem post in task
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 4); // 100, Set the timeout of runtime; 4, test runing count
+ TestAssertBusyTaskDelay(100, 4); // 100, Set the timeout of runtime; 4, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 4, g_testCount, EXIT); // 4, Here, assert that g_testCount is equal to
ret = LOS_SemDelete(g_semID);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_028.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_028.c
index 5d0cce83..43f0d3b6 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_028.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_028.c
@@ -87,7 +87,7 @@ static UINT32 Testcase(VOID)
ret = LOS_SemDelete(g_semID);
g_ret1 = ret;
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to
if (((g_ret1 == LOS_OK) && (g_ret2 != LOS_OK)) || ((g_ret2 == LOS_OK) && (g_ret1 != LOS_OK)))
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_029.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_029.c
index 3f877e09..a7d3af39 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_029.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_029.c
@@ -101,7 +101,7 @@ static UINT32 Testcase(VOID)
ret = LOS_SemPost(g_semID); // post sem in other cpu
ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT);
- TestAssertBusyTaskDelay(100, 4); // 100, Set the timeout of runtime; 4, test runing count
+ TestAssertBusyTaskDelay(100, 4); // 100, Set the timeout of runtime; 4, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 4, g_testCount, EXIT); // 4, Here, assert that g_testCount is equal to
if ((g_ret != LOS_OK) && (g_ret != LOS_ERRNO_SEM_PENDED)) {
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_032.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_032.c
index bceb578a..b0e6f8fa 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_032.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_032.c
@@ -83,7 +83,7 @@ static UINT32 Testcase(VOID)
ret = LOS_SemPost(g_semID); // post sem before 10 ticks timeout
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, LOSCFG_KERNEL_CORE_NUM * 3); // 100, Set the timeout of runtime; LOSCFG_KERNEL_CORE_NUM * 3, test runing count
+ TestAssertBusyTaskDelay(100, LOSCFG_KERNEL_CORE_NUM * 3); // 100, Set the timeout of runtime; LOSCFG_KERNEL_CORE_NUM * 3, test running count
ICUNIT_GOTO_EQUAL(g_testCount, LOSCFG_KERNEL_CORE_NUM * 3, g_testCount, EXIT); // 3, Here, assert that g_testCount is equal to
EXIT:
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_033.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_033.c
index d05fca18..b0f17877 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_033.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_033.c
@@ -103,7 +103,7 @@ static UINT32 Testcase(VOID)
ret = LOS_SemPost(g_semID);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(200, 3); // 200, Set the timeout of runtime; 3, test runing count
+ TestAssertBusyTaskDelay(200, 3); // 200, Set the timeout of runtime; 3, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT1); // 3, Here, assert that g_testCount is equal to
ret = LOS_SemPost(g_semID);
diff --git a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_034.c b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_034.c
index a01401b8..2704d2e6 100644
--- a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_034.c
+++ b/testsuites/kernel/sample/kernel_base/ipc/sem/smp/It_smp_los_sem_034.c
@@ -101,7 +101,7 @@ static UINT32 Testcase(VOID)
ret = LOS_TaskCreate(&g_testTaskID01, &testTask);
ICUNIT_ASSERT_EQUAL(ret, LOS_OK, ret);
- TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test runing count
+ TestAssertBusyTaskDelay(100, 2); // 100, Set the timeout of runtime; 2, test running count
ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal to
PRINT_DEBUG("sem post\n");
diff --git a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_013.c b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_013.c
index 54b9025b..cc18d5b5 100644
--- a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_013.c
+++ b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_013.c
@@ -44,7 +44,7 @@ static UINT32 Testcase(VOID)
prioceiling = sched_get_priority_max(SCHED_RR);
prioceiling++;
- /* Set the prioceiling of an unintialized mutex attr. */
+ /* Set the prioceiling of an uninitialized mutex attr. */
ret = pthread_mutexattr_setprioceiling(&mta, prioceiling);
ICUNIT_GOTO_EQUAL(ret, EINVAL, ret, EXIT);
diff --git a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_014.c b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_014.c
index 2534ae48..ef84f312 100644
--- a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_014.c
+++ b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_014.c
@@ -55,7 +55,7 @@ static UINT32 Testcase(VOID)
pthread_mutexattr_t mta;
int prioceiling, ret;
- /* Set 'prioceiling' out of SCHED_FIFO boundry. */
+ /* Set 'prioceiling' out of SCHED_FIFO boundary. */
prioceiling = sched_get_priority_min(SCHED_RR);
prioceiling--;
diff --git a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_017.c b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_017.c
index 4a542a85..1dcad74e 100644
--- a/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_017.c
+++ b/testsuites/kernel/sample/posix/mutex/full/It_posix_mutex_017.c
@@ -57,7 +57,7 @@ static UINT32 Testcase(VOID)
int prioceiling, ret;
pthread_mutexattr_t mta;
- /* Get the prioceiling of an unintialized mutex attr. */
+ /* Get the prioceiling of an uninitialized mutex attr. */
ret = pthread_mutexattr_getprioceiling(&mta, &prioceiling);
ICUNIT_ASSERT_EQUAL(ret, ENOERR, ret);
diff --git a/testsuites/kernel/sample/posix/pthread/full/It_posix_pthread_150.c b/testsuites/kernel/sample/posix/pthread/full/It_posix_pthread_150.c
index 37f1a74a..35347c59 100644
--- a/testsuites/kernel/sample/posix/pthread/full/It_posix_pthread_150.c
+++ b/testsuites/kernel/sample/posix/pthread/full/It_posix_pthread_150.c
@@ -69,7 +69,7 @@ static UINT32 Testcase(VOID)
pthreadData = pthread_get_data(newTh);
ICUNIT_ASSERT_EQUAL(pthreadData, NULL, pthreadData);
- /* Detach the non-existant thread. */
+ /* Detach the non-existent thread. */
ret = pthread_detach(newTh);
ICUNIT_ASSERT_EQUAL(ret, ESRCH, ret);
diff --git a/testsuites/kernel/src/iCunit.c b/testsuites/kernel/src/iCunit.c
index 058327ba..82a00651 100644
--- a/testsuites/kernel/src/iCunit.c
+++ b/testsuites/kernel/src/iCunit.c
@@ -314,7 +314,7 @@ iUINT32 ICunitRunF(ICUNIT_CASE_S *psubCase)
(strcmp(psubCase->pcCaseID, "IT_FS_FAT_363") == 0) || (strcmp(psubCase->pcCaseID, "LLT_FS_VFS_004") == 0) ||
(strcmp(psubCase->pcCaseID, "LLT_FS_RAMFS_003") == 0) ||
(strcmp(psubCase->pcCaseID, "LLT_FS_RAMFS_001") == 0)) {
- dprintf(" [Case]-%s-%s-%s-%s-%s,unruning!!!\n", psubCase->pcCaseID, g_strLayer[psubCase->testcase_layer],
+ dprintf(" [Case]-%s-%s-%s-%s-%s,unrunning!!!\n", psubCase->pcCaseID, g_strLayer[psubCase->testcase_layer],
g_strModule[psubCase->testcase_module], g_strLevel[psubCase->testcase_level],
g_strType[psubCase->testcase_type]);
goto ENDING;
diff --git a/testsuites/kernel/src/osTest.c b/testsuites/kernel/src/osTest.c
index 895114ca..1e5458b5 100644
--- a/testsuites/kernel/src/osTest.c
+++ b/testsuites/kernel/src/osTest.c
@@ -283,7 +283,7 @@ UINT64 TestTickCountByCurrCpuid(VOID)
/*
* different from calling LOS_TaskDelay,
- * this func will not yeild this task to another one.
+ * this func will not yield this task to another one.
*/
VOID TestBusyTaskDelay(UINT32 tick)
{
diff --git a/testsuites/unittest/basic/mem/shm/full/shm_test_001.cpp b/testsuites/unittest/basic/mem/shm/full/shm_test_001.cpp
index eb085b8b..6cb107d3 100644
--- a/testsuites/unittest/basic/mem/shm/full/shm_test_001.cpp
+++ b/testsuites/unittest/basic/mem/shm/full/shm_test_001.cpp
@@ -94,7 +94,7 @@ VOID *ShmWriteFunc(VOID *ptr)
shm = shmat(shmid, (void *)0, 0);
ICUNIT_ASSERT_NOT_EQUAL_NULL_VOID(shm, INVALID_PTR, shm);
- printf("Memory attched at %p\n", shm);
+ printf("Memory attached at %p\n", shm);
shared = (struct shared_use_st *)shm;
while (1) {
diff --git a/testsuites/unittest/basic/mem/vm/smoke/mremap_test_001.cpp b/testsuites/unittest/basic/mem/vm/smoke/mremap_test_001.cpp
index 1f2344ed..e9d86cb3 100644
--- a/testsuites/unittest/basic/mem/vm/smoke/mremap_test_001.cpp
+++ b/testsuites/unittest/basic/mem/vm/smoke/mremap_test_001.cpp
@@ -65,7 +65,7 @@ static int Testcase(void)
newAddr = mremap(p, pageSize, size, MREMAP_MAYMOVE, 0);
ICUNIT_ASSERT_EQUAL(newAddr, p, newAddr);
- /* New region overlaping with the old one */
+ /* New region overlapping with the old one */
newAddr = mremap(p, size, pageSize, MREMAP_MAYMOVE | MREMAP_FIXED, p + pageSize);
ICUNIT_ASSERT_EQUAL(newAddr, MAP_FAILED, newAddr);
ICUNIT_ASSERT_EQUAL(errno, EINVAL, errno);
diff --git a/testsuites/unittest/common/osTest.cpp b/testsuites/unittest/common/osTest.cpp
index f1e70b69..ee34a9c6 100644
--- a/testsuites/unittest/common/osTest.cpp
+++ b/testsuites/unittest/common/osTest.cpp
@@ -251,7 +251,7 @@ UINT64 TestTickCountByCurrCpuid(VOID)
/*
* different from calling LOS_TaskDelay,
- * this func will not yeild this task to another one.
+ * this func will not yield this task to another one.
*/
VOID TestBusyTaskDelay(UINT32 tick)
{
diff --git a/testsuites/unittest/extended/liteipc/liteipc.h b/testsuites/unittest/extended/liteipc/liteipc.h
index 2be36686..528a09e3 100644
--- a/testsuites/unittest/extended/liteipc/liteipc.h
+++ b/testsuites/unittest/extended/liteipc/liteipc.h
@@ -88,8 +88,8 @@ typedef struct {
void* data;
uint32_t spObjNum;
void* offsets;
- uint32_t processID; /**< filled by kernel, processId of sender/reciever */
- uint32_t taskID; /**< filled by kernel, taskId of sender/reciever */
+ uint32_t processID; /**< filled by kernel, processId of sender/receiver */
+ uint32_t taskID; /**< filled by kernel, taskId of sender/receiver */
#ifdef LOSCFG_SECURITY_CAPABILITY
uint32_t userID;
uint32_t gid;
diff --git a/testsuites/unittest/extended/liteipc/smgr_demo.cpp b/testsuites/unittest/extended/liteipc/smgr_demo.cpp
index e8bddda4..6df7d807 100644
--- a/testsuites/unittest/extended/liteipc/smgr_demo.cpp
+++ b/testsuites/unittest/extended/liteipc/smgr_demo.cpp
@@ -215,7 +215,7 @@ static void HandleServiceRegAndGet(int fd, IpcMsg *data)
SendReply(fd, data, 0, content.serviceHandle);
}
}else {
- printf("this service already registed\n");
+ printf("this service already registered\n");
goto ERROR_EXIT;
}
break;
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_056.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_056.cpp
index f5addcc5..8cf1098c 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_056.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_056.cpp
@@ -56,14 +56,14 @@ static UINT32 Testcase(VOID)
ICUNIT_GOTO_EQUAL(len, 3, len, EXIT1); // 3 means write len
off = lseek(fd, 10, SEEK_SET); // 10 means file seek len
- ICUNIT_GOTO_EQUAL(off, 10, off, EXIT1); // 10 means current file positon
+ ICUNIT_GOTO_EQUAL(off, 10, off, EXIT1); // 10 means current file position
len = read(fd, readbuf, 6); // 6 means read len
ICUNIT_GOTO_EQUAL(len, 6, len, EXIT1); // 6 means read len
ICUNIT_GOTO_STRING_EQUAL(readbuf, "abcde&", readbuf, EXIT1);
off = lseek(fd, 2, SEEK_CUR); // 2 means file seek len
- ICUNIT_GOTO_EQUAL(off, 18, off, EXIT1); // 18 means current file positon
+ ICUNIT_GOTO_EQUAL(off, 18, off, EXIT1); // 18 means current file position
memset_s(readbuf, sizeof(readbuf), 0, sizeof(readbuf));
@@ -72,14 +72,14 @@ static UINT32 Testcase(VOID)
ICUNIT_GOTO_STRING_EQUAL(readbuf, "34567", readbuf, EXIT1);
off = lseek(fd, 0, SEEK_CUR);
- ICUNIT_GOTO_EQUAL(off, 23, off, EXIT1); // 23 means current file positon
+ ICUNIT_GOTO_EQUAL(off, 23, off, EXIT1); // 23 means current file position
len = read(fd, readbuf, 5); // 5 means read len
ICUNIT_GOTO_EQUAL(len, 5, len, EXIT1); // 5 means read len
ICUNIT_GOTO_STRING_EQUAL(readbuf, "890ab", readbuf, EXIT1);
off = lseek(fd, -2, SEEK_CUR); // -2 means file seek back len
- ICUNIT_GOTO_EQUAL(off, 26, off, EXIT1); // 26 means current file positon
+ ICUNIT_GOTO_EQUAL(off, 26, off, EXIT1); // 26 means current file position
len = read(fd, readbuf, 6); // 6 means read len
ICUNIT_GOTO_EQUAL(len, 6, len, EXIT1); // 6 means read len
@@ -88,20 +88,20 @@ static UINT32 Testcase(VOID)
memset_s(readbuf, sizeof(readbuf), 0, sizeof(readbuf));
off = lseek(fd, -2, SEEK_END); // -2 means file seek back len
- ICUNIT_GOTO_EQUAL(off, 49, off, EXIT1); // 49 means current file positon
+ ICUNIT_GOTO_EQUAL(off, 49, off, EXIT1); // 49 means current file position
len = read(fd, readbuf, 5); // 5 means read len
ICUNIT_GOTO_EQUAL(len, 2, len, EXIT1); // 2 means read len
ICUNIT_GOTO_STRING_EQUAL(readbuf, "ND", readbuf, EXIT1);
off = lseek(fd, 0, SEEK_END);
- ICUNIT_GOTO_EQUAL(off, 51, off, EXIT1); // 51 means current file positon
+ ICUNIT_GOTO_EQUAL(off, 51, off, EXIT1); // 51 means current file position
len = read(fd, readbuf, 6); // 6 means read len
ICUNIT_GOTO_EQUAL(len, 0, len, EXIT1);
off = lseek(fd, 2, SEEK_END); // 2 means file seek len
- ICUNIT_GOTO_EQUAL(off, 53, off, EXIT1); // 53 means current file positon
+ ICUNIT_GOTO_EQUAL(off, 53, off, EXIT1); // 53 means current file position
len = read(fd, readbuf, 6); // 6 means read len
ICUNIT_GOTO_EQUAL(len, 0, len, EXIT1);
@@ -109,7 +109,7 @@ static UINT32 Testcase(VOID)
ICUNIT_GOTO_EQUAL(len, 3, len, EXIT1); // 3 means write len
off = lseek(fd, -3, SEEK_END); // -3 means file seek back len
- ICUNIT_GOTO_EQUAL(off, 53, off, EXIT1); // 53 means current file positon
+ ICUNIT_GOTO_EQUAL(off, 53, off, EXIT1); // 53 means current file position
len = read(fd, readbuf, 5); // 5 means read len
ICUNIT_GOTO_EQUAL(len, 3, len, EXIT1); // 3 means length of actually read data
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_069.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_069.cpp
index 57f19693..86e30850 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_069.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_069.cpp
@@ -53,7 +53,7 @@ static UINT32 Testcase(VOID)
ICUNIT_GOTO_EQUAL(len, strlen(filebuf1), len, EXIT2);
off = lseek(fd, 3, SEEK_SET); // 3 means seek len
- ICUNIT_GOTO_EQUAL(off, 3, off, EXIT2); // 3 means current file positon
+ ICUNIT_GOTO_EQUAL(off, 3, off, EXIT2); // 3 means current file position
pfd2 = dup(fd);
ICUNIT_GOTO_NOT_EQUAL(pfd2, -1, pfd2, EXIT3);
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_104.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_104.cpp
index 82c0f28a..8df5eb2d 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_104.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_104.cpp
@@ -143,7 +143,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_105.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_105.cpp
index 298c9fa3..fab9df77 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_105.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_105.cpp
@@ -163,7 +163,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A;
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_106.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_106.cpp
index 45939702..dba4504f 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_106.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_106.cpp
@@ -163,7 +163,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A;
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_107.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_107.cpp
index 016d5853..61736c22 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_107.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_107.cpp
@@ -139,7 +139,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A;
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_116.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_116.cpp
index 9777253b..ac31f346 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_116.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_116.cpp
@@ -105,7 +105,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_117.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_117.cpp
index d6a96bff..7ec86d73 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_117.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_117.cpp
@@ -111,7 +111,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_118.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_118.cpp
index f7717b3c..84b1f677 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_118.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_118.cpp
@@ -107,7 +107,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_119.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_119.cpp
index e4190028..8da8f66a 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_119.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_119.cpp
@@ -107,7 +107,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_120.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_120.cpp
index f2ca2048..f2362525 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_120.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_120.cpp
@@ -107,7 +107,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_121.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_121.cpp
index 47216f59..6b640615 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_121.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_121.cpp
@@ -107,7 +107,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_122.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_122.cpp
index e6d7ee76..f3d140fb 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_122.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_122.cpp
@@ -84,7 +84,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_123.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_123.cpp
index 175182c0..43338b76 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_123.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_123.cpp
@@ -85,7 +85,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_142.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_142.cpp
index ca159649..56857c17 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_142.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_142.cpp
@@ -52,7 +52,7 @@ static UINT32 Testcase(VOID)
ICUNIT_GOTO_EQUAL(len, 10, len, EXIT1); // 10 means write len
off = lseek(fd, -1, SEEK_CUR);
- ICUNIT_GOTO_EQUAL(off, 9, off, EXIT1); // 9 means current file positon
+ ICUNIT_GOTO_EQUAL(off, 9, off, EXIT1); // 9 means current file position
len = read(fd, readbuf, 20); // 20 means read len
ICUNIT_GOTO_EQUAL(len, 1, len, EXIT1);
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_143.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_143.cpp
index cd5dbbe8..0e726ff5 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_143.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_143.cpp
@@ -53,7 +53,7 @@ static UINT32 Testcase(VOID)
ICUNIT_GOTO_EQUAL(len, 10, len, EXIT1); // 10 means write len
off = lseek(fd, 0, SEEK_CUR);
- ICUNIT_GOTO_EQUAL(off, 10, off, EXIT1); // 10 means current file positon
+ ICUNIT_GOTO_EQUAL(off, 10, off, EXIT1); // 10 means current file position
len = read(fd, readbuf, 20); // 20 means read len
ICUNIT_GOTO_EQUAL(len, 0, len, EXIT1);
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_147.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_147.cpp
index 54a3743d..cdf8eb07 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_147.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_147.cpp
@@ -53,7 +53,7 @@ static UINT32 Testcase(VOID)
ICUNIT_GOTO_EQUAL(len, 10, len, EXIT1); // 10 means write len
off = lseek(fd, 0, SEEK_END);
- ICUNIT_GOTO_EQUAL(off, 10, off, EXIT1); // 10 means current file positon
+ ICUNIT_GOTO_EQUAL(off, 10, off, EXIT1); // 10 means current file position
len = read(fd, readbuf, 20); // 20 means read len
ICUNIT_GOTO_EQUAL(len, 0, len, EXIT1);
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_148.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_148.cpp
index 70562873..5a11588c 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_148.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_148.cpp
@@ -53,7 +53,7 @@ static UINT32 Testcase(VOID)
ICUNIT_GOTO_EQUAL(len, 10, len, EXIT1); // 10 means write len
off = lseek(fd, -1, SEEK_END);
- ICUNIT_GOTO_EQUAL(off, 9, off, EXIT1); // 9 means current positon
+ ICUNIT_GOTO_EQUAL(off, 9, off, EXIT1); // 9 means current position
len = read(fd, readbuf, 20); // 20 means read len
ICUNIT_GOTO_EQUAL(len, 1, len, EXIT1); // 1 means length of actually read data
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_520.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_520.cpp
index b4dd2576..244fe4f5 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_520.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_520.cpp
@@ -78,7 +78,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_521.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_521.cpp
index 61593a7d..0f2feaa8 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_521.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_521.cpp
@@ -76,7 +76,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_522.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_522.cpp
index 67f34191..358799c9 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_522.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_522.cpp
@@ -81,7 +81,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_523.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_523.cpp
index bcce4f6a..c7e7c5d4 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_523.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_523.cpp
@@ -76,7 +76,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_524.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_524.cpp
index 43b53ce6..8ac29452 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_524.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_524.cpp
@@ -81,7 +81,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_526.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_526.cpp
index c0b04855..c8de79ea 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_526.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_526.cpp
@@ -77,7 +77,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_528.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_528.cpp
index d6f6b3f0..a66516d9 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_528.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_528.cpp
@@ -100,7 +100,7 @@ EXIT:
4. N/A.
* -@texpect
1. Return successed
-2. Sucessful operation
+2. Successful operation
3. N/A
4. N/A
* -@tprior 1
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_529.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_529.cpp
index a9c3fff8..79fab231 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_529.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_529.cpp
@@ -75,7 +75,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_530.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_530.cpp
index ee0cc196..5cf1da66 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_530.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_530.cpp
@@ -82,7 +82,7 @@ EXIT:
4. N/A.
* -@texpect
1. Return successed
-2. Sucessful operation
+2. Successful operation
3. N/A
4. N/A
* -@tprior 1
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_574.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_574.cpp
index 853f5e9a..e9738efe 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_574.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_574.cpp
@@ -113,7 +113,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_586.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_586.cpp
index fb2fa4fe..8b9243b3 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_586.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_586.cpp
@@ -79,7 +79,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return successed
-3. Sucessful operation
+3. Successful operation
4. N/A
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_807.cpp b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_807.cpp
index 39013a9f..7d05bc61 100644
--- a/testsuites/unittest/fs/jffs/full/It_vfs_jffs_807.cpp
+++ b/testsuites/unittest/fs/jffs/full/It_vfs_jffs_807.cpp
@@ -117,7 +117,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_066.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_066.cpp
index 85ab925e..b3eae711 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_066.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_066.cpp
@@ -321,7 +321,7 @@ EXIT1:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_068.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_068.cpp
index 8058543d..454ce174 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_068.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_068.cpp
@@ -97,7 +97,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_073.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_073.cpp
index 77944169..936938d2 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_073.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_073.cpp
@@ -105,7 +105,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return failed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_074.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_074.cpp
index 985ff93a..b4631bbd 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_074.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_074.cpp
@@ -118,7 +118,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_663.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_663.cpp
index 237bff00..3dfc5c0f 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_663.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_663.cpp
@@ -79,7 +79,7 @@ EXIT:
* -@texpect
1. Return successed
2. Return failed
-3. Sucessful operation
+3. Successful operation
4. N/A
* -@tprior 1
* -@tauto TRUE
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_664.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_664.cpp
index 2ad46e15..718d5ed2 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_664.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_664.cpp
@@ -101,7 +101,7 @@ EXIT:
1. Return successed
2. Return failed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_665.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_665.cpp
index f74c2bc8..a52b5396 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_665.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_665.cpp
@@ -77,7 +77,7 @@ EXIT:
1. Return successed
2. Return failed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_666.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_666.cpp
index e5b78848..f1e6dd9b 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_666.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_666.cpp
@@ -75,7 +75,7 @@ EXIT:
1. Return successed
2. Return failed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_667.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_667.cpp
index ed4e181e..7d0ac9db 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_667.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_667.cpp
@@ -75,7 +75,7 @@ EXIT:
1. Return successed
2. Return failed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_668.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_668.cpp
index 0009f023..3cfe6814 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_668.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_668.cpp
@@ -77,7 +77,7 @@ EXIT:
1. Return successed
2. Return failed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_669.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_669.cpp
index ab9ef5d0..6bbeb5dd 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_669.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_669.cpp
@@ -89,7 +89,7 @@ EXIT:
1. Return successed
2. Return failed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_670.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_670.cpp
index 5cbe92ea..a12f5db8 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_670.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_670.cpp
@@ -89,7 +89,7 @@ EXIT:
1. Return successed
2. Return failed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_671.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_671.cpp
index 56c0a02c..33e2e0a4 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_671.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_671.cpp
@@ -75,7 +75,7 @@ EXIT:
1. Return successed
2. Return failed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_672.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_672.cpp
index b53c0fb5..060e23c7 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_672.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_672.cpp
@@ -114,7 +114,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_673.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_673.cpp
index cbbe013a..17c0dc37 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_673.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_673.cpp
@@ -114,7 +114,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_674.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_674.cpp
index 347cbdec..735e2e9e 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_674.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_674.cpp
@@ -120,7 +120,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_675.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_675.cpp
index acecb835..bc4bb271 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_675.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_675.cpp
@@ -120,7 +120,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_676.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_676.cpp
index d03a1537..c1cdb56a 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_676.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_676.cpp
@@ -132,7 +132,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_677.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_677.cpp
index aa088c0a..d263fda9 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_677.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_677.cpp
@@ -192,7 +192,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_678.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_678.cpp
index b285cb10..d71d004b 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_678.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_678.cpp
@@ -141,7 +141,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_679.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_679.cpp
index dfbc27cf..cc77fadf 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_679.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_679.cpp
@@ -109,7 +109,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_680.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_680.cpp
index dfb5affb..eb47e25e 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_680.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_680.cpp
@@ -164,7 +164,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_681.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_681.cpp
index ce5e4637..07d0ffa1 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_681.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_681.cpp
@@ -139,7 +139,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_682.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_682.cpp
index 8bf5d85a..86250d46 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_682.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_682.cpp
@@ -116,7 +116,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_683.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_683.cpp
index 84d56068..e5996fea 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_683.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_683.cpp
@@ -161,7 +161,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_684.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_684.cpp
index 1311af13..c5860b06 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_684.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_684.cpp
@@ -161,7 +161,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_685.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_685.cpp
index 6c97584f..7dc484b6 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_685.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_685.cpp
@@ -129,7 +129,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_686.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_686.cpp
index 5aea9458..2fb3e242 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_686.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_686.cpp
@@ -149,18 +149,18 @@ EXIT:
/* *
* -@test IT_FS_FAT_686
* -@tspec The function test for fallocate
-* -@ttitle Fallocate allocates space while the postion is in the file
+* -@ttitle Fallocate allocates space while the position is in the file
* -@tprecon The filesystem module is open
* -@tbrief
1. use the open to open one non-empty file;
-2. use the function fallocate to allocates space while the postion is in the file ;
+2. use the function fallocate to allocates space while the position is in the file ;
3. compare the file size before and after fallocate;
4. close and remove the file.
* -@texpect
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_687.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_687.cpp
index ea64c118..2ec2b1a0 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_687.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_687.cpp
@@ -129,18 +129,18 @@ EXIT:
/* *
* -@test IT_FS_FAT_687
* -@tspec The function test for fallocate
-* -@ttitle Fallocate allocates space while the postion is end of the file
+* -@ttitle Fallocate allocates space while the position is end of the file
* -@tprecon The filesystem module is open
* -@tbrief
1. use the open to open one non-empty file;
-2. use the function fallocate to allocates space while the postion is end of the file ;
+2. use the function fallocate to allocates space while the position is end of the file ;
3. compare the file size before and after fallocate;
4. close and remove the file.
* -@texpect
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_692.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_692.cpp
index a25200d9..1ed3c642 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_692.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_692.cpp
@@ -90,7 +90,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_693.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_693.cpp
index 18056591..25546c2f 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_693.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_693.cpp
@@ -94,7 +94,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_694.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_694.cpp
index ff64a20f..e9c03aa2 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_694.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_694.cpp
@@ -77,7 +77,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return failed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/full/It_vfs_fat_870.cpp b/testsuites/unittest/fs/vfat/full/It_vfs_fat_870.cpp
index 76bd8ff4..ca8fe880 100644
--- a/testsuites/unittest/fs/vfat/full/It_vfs_fat_870.cpp
+++ b/testsuites/unittest/fs/vfat/full/It_vfs_fat_870.cpp
@@ -168,7 +168,7 @@ EXIT:
* @brief function 操作超过2G大小的文件
* @par description:write the file size to 2GB and function it
* @par precon: task moudle open
- * @par step: see decription
+ * @par step: see description
* create 2GB file \n
* function this file
* @par expect: nothing
diff --git a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_performance_013.cpp b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_performance_013.cpp
index 5476439c..d5de71f1 100644
--- a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_performance_013.cpp
+++ b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_performance_013.cpp
@@ -131,7 +131,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_performance_014.cpp b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_performance_014.cpp
index 2db2c7b6..e1168df5 100644
--- a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_performance_014.cpp
+++ b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_performance_014.cpp
@@ -147,7 +147,7 @@ EXIT0:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_029.cpp b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_029.cpp
index c5886fa0..f0360221 100644
--- a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_029.cpp
+++ b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_029.cpp
@@ -280,7 +280,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_030.cpp b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_030.cpp
index 2dd2486b..1de79477 100644
--- a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_030.cpp
+++ b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_030.cpp
@@ -163,7 +163,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return failure
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_031.cpp b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_031.cpp
index 38e6b42d..2bc46550 100644
--- a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_031.cpp
+++ b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_031.cpp
@@ -244,7 +244,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return failure
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_038.cpp b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_038.cpp
index 1b6a6f3b..b8e92354 100644
--- a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_038.cpp
+++ b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_038.cpp
@@ -377,7 +377,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_040.cpp b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_040.cpp
index b220052e..36507f62 100644
--- a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_040.cpp
+++ b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_040.cpp
@@ -406,7 +406,7 @@ mount
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_041.cpp b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_041.cpp
index 96583215..2d2ac83b 100644
--- a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_041.cpp
+++ b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_041.cpp
@@ -401,7 +401,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_042.cpp b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_042.cpp
index 2efbe904..3bb7506b 100644
--- a/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_042.cpp
+++ b/testsuites/unittest/fs/vfat/pressure/It_fs_fat_pressure_042.cpp
@@ -416,7 +416,7 @@ EXIT:
1. Return successed
2. Return successed
3. Return successed
-4. Sucessful operation
+4. Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/fs/vfat/smoke/It_vfs_fat_026.cpp b/testsuites/unittest/fs/vfat/smoke/It_vfs_fat_026.cpp
index b19fbe97..5aa48eae 100644
--- a/testsuites/unittest/fs/vfat/smoke/It_vfs_fat_026.cpp
+++ b/testsuites/unittest/fs/vfat/smoke/It_vfs_fat_026.cpp
@@ -167,7 +167,7 @@ EXIT0:
* -@tprior 1
* -@tauto TRUE
* -@tremark
-* Sucessful operation
+* Successful operation
* -@tprior 1
* -@tauto TRUE
* -@tremark
diff --git a/testsuites/unittest/libc/posix/mqueue/full/It_posix_queue_043.cpp b/testsuites/unittest/libc/posix/mqueue/full/It_posix_queue_043.cpp
index 05658401..37aa3c04 100644
--- a/testsuites/unittest/libc/posix/mqueue/full/It_posix_queue_043.cpp
+++ b/testsuites/unittest/libc/posix/mqueue/full/It_posix_queue_043.cpp
@@ -86,7 +86,7 @@ EXIT:
2. Return successed
3. Return successed
4. Return successed
-5. Sucessful operation
+5. Successful operation
*-@tprior 1
*-@tauto TRUE
*-@tremark
diff --git a/tools/build/liteos.ld b/tools/build/liteos.ld
index 162550b6..8d762ce3 100644
--- a/tools/build/liteos.ld
+++ b/tools/build/liteos.ld
@@ -175,7 +175,7 @@ SECTIONS
__user_init_size = __user_init_end - __user_init_entry;
- /* unintialized data (in same segment as writable data) */
+ /* uninitialized data (in same segment as writable data) */
.bss : {
. = ALIGN(0x800);
__int_stack_start = .;
diff --git a/tools/build/liteos_llvm.ld b/tools/build/liteos_llvm.ld
index 535a21d1..a71797ed 100644
--- a/tools/build/liteos_llvm.ld
+++ b/tools/build/liteos_llvm.ld
@@ -180,7 +180,7 @@ SECTIONS
__user_init_size = __user_init_end - __user_init_entry;
- /* unintialized data (in same segment as writable data) */
+ /* uninitialized data (in same segment as writable data) */
.bss : {
. = ALIGN(0x800);
__int_stack_start = .;