diff options
| author | wtz <[email protected]> | 2023-07-19 12:35:52 +0800 |
|---|---|---|
| committer | wtz <[email protected]> | 2023-07-19 12:35:52 +0800 |
| commit | f75224a8435d0eb9cdda79f8bc571eeef25a8e33 (patch) | |
| tree | 278e00b17c8f5558df1c1a21f1204078ea62a58f /tests | |
| parent | ca83e9a78b7f2d45e833fa705c880867ad2381c6 (diff) | |
Fix grammar
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/apis/add_allowedxxx/xmake.lua | 2 | ||||
| -rw-r--r-- | tests/modules/process/process_autoexit.lua | 2 | ||||
| -rw-r--r-- | tests/modules/process/process_killed.lua | 2 | ||||
| -rw-r--r-- | tests/modules/string/serialize/test.lua | 2 | ||||
| -rw-r--r-- | tests/projects/linux/bpf/minimal/test.lua | 2 | ||||
| -rw-r--r-- | tests/projects/windows/driver/kmdf/serial/read.c | 2 | ||||
| -rw-r--r-- | tests/projects/windows/driver/wdm/msdsm/intrface.c | 4 |
7 files changed, 8 insertions, 8 deletions
diff --git a/tests/apis/add_allowedxxx/xmake.lua b/tests/apis/add_allowedxxx/xmake.lua index 963007b99..d15f0ee32 100644 --- a/tests/apis/add_allowedxxx/xmake.lua +++ b/tests/apis/add_allowedxxx/xmake.lua @@ -55,7 +55,7 @@ target("test") -- -- add macro definition -- add_defines("NDEBUG", "_GNU_SOURCE=1") -- --- -- set warning all as error +-- -- set all warnings as errors -- set_warnings("all", "error") -- -- -- set language: c99, c++11 diff --git a/tests/modules/process/process_autoexit.lua b/tests/modules/process/process_autoexit.lua index 048e47c06..c7d56a286 100644 --- a/tests/modules/process/process_autoexit.lua +++ b/tests/modules/process/process_autoexit.lua @@ -9,6 +9,6 @@ function main(cmd) end) end -- check processes status after exiting - -- we need terminate all unclosed processes automatically after parent process is exited + -- we need to terminate all unclosed processes automatically after parent process is exited -- ps aux | grep sleep end diff --git a/tests/modules/process/process_killed.lua b/tests/modules/process/process_killed.lua index ed412e780..5d7045647 100644 --- a/tests/modules/process/process_killed.lua +++ b/tests/modules/process/process_killed.lua @@ -7,7 +7,7 @@ function main(cmd) -- @note we need test xx.bat cmd on windows local proc = process.open(cmd or "xmake l os.sleep 60000") print("%s: wait ..", proc) - -- we need terminate all unclosed processes automatically after parent process is exited after do ctrl-c + -- we need to terminate all unclosed processes automatically after parent process is exited after do ctrl-c proc:wait(-1) print("%s: wait ok", proc) proc:close() diff --git a/tests/modules/string/serialize/test.lua b/tests/modules/string/serialize/test.lua index dfbd01c09..47dbc776d 100644 --- a/tests/modules/string/serialize/test.lua +++ b/tests/modules/string/serialize/test.lua @@ -63,7 +63,7 @@ function test_function(t) function f() return x end -- fenv will restore if xmake.luajit() then - -- TODO we need fix it for lua backend + -- TODO we need to fix it for lua backend t:are_same(roundtrip(f)(), x) end diff --git a/tests/projects/linux/bpf/minimal/test.lua b/tests/projects/linux/bpf/minimal/test.lua index 474060ab0..4be411b32 100644 --- a/tests/projects/linux/bpf/minimal/test.lua +++ b/tests/projects/linux/bpf/minimal/test.lua @@ -1,6 +1,6 @@ function main(t) if is_host("linux") and os.arch() == "x86_64" then - -- TODO, we need wait fix of linux kernel + -- TODO, we need to wait fix of linux kernel if linuxos.name() == "archlinux" then return end diff --git a/tests/projects/windows/driver/kmdf/serial/read.c b/tests/projects/windows/driver/kmdf/serial/read.c index ab745fdd7..6f138d9d3 100644 --- a/tests/projects/windows/driver/kmdf/serial/read.c +++ b/tests/projects/windows/driver/kmdf/serial/read.c @@ -1736,7 +1736,7 @@ Return Value: //
// Since we (essentially) reduced the percentage of the interrupt
- // buffer being full, we need to handle any flow control.
+ // buffer being full, we need to handle any flow of control.
//
SerialHandleReducedIntBuffer(extension);
diff --git a/tests/projects/windows/driver/wdm/msdsm/intrface.c b/tests/projects/windows/driver/wdm/msdsm/intrface.c index eeebf7f93..4a390c212 100644 --- a/tests/projects/windows/driver/wdm/msdsm/intrface.c +++ b/tests/projects/windows/driver/wdm/msdsm/intrface.c @@ -3720,8 +3720,8 @@ Return Value: //
// This indicates that the request is being retried. So we need to:
// 1. Update old path's and new path's request count
- // 2. If the old path was supposed to be removed, check if there are
- // no more requests are outstanding, and if yes, remove the path
+ // 2. If the old path was supposed to be removed, check if there is
+ // no more outstanding request, and if so, remove the path
//
irpStack = IoGetCurrentIrpStackLocation(irp);
|
