diff options
| author | ruki <[email protected]> | 2022-07-29 00:49:07 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-07-29 00:49:07 +0800 |
| commit | 50af6707efc8f4831d790005cdddad4278f3a37d (patch) | |
| tree | df209654f13b65ef076a822dde7d6d5b8a009b9f /tests/modules/os/meminfo.lua | |
| parent | 07ef7c8da6a58bd22a4cd8dc3c80f915771c02e2 (diff) | |
add cpuinfo/meminfo tests
Diffstat (limited to 'tests/modules/os/meminfo.lua')
| -rw-r--r-- | tests/modules/os/meminfo.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/modules/os/meminfo.lua b/tests/modules/os/meminfo.lua new file mode 100644 index 000000000..68a245cda --- /dev/null +++ b/tests/modules/os/meminfo.lua @@ -0,0 +1,6 @@ +function main() + while true do + print(os.time(), os.meminfo()) + os.sleep(1000) + end +end |
