296 Commits
Author SHA1 Message Date
dunkaist 56733dc1cc Implement commands read_disk, read_partition, add a test 2026-07-05 08:46:11 +01:00
Matou1306anddunkaist e6edc27141 new tests for cwd and file writes at specific offsets inside files 2026-06-25 03:38:56 +00:00
Matou1306 9d7ce9fa46 update some tests ref.log to show correct error return + comment mismatch fix in t074 2026-06-25 00:04:03 +03:00
Matou1306anddunkaist 955a35d948 Add createfile test 76 2026-06-24 15:47:33 +00:00
Matou1306 4d2a614bef add test 74 to test extra_isize writing 2026-06-07 18:31:55 +03:00
Matou1306 cff5d3aa37 added t073 2026-05-26 20:31:38 +03:00
Matou1306 18c92be21b edit t072/ref.log 2026-05-26 20:31:12 +03:00
dunkaist 95f28a8034 Add more tests for ext2 (copy from xfs)
It looks like the ext driver does not handle
sparse files / holes correctly.
2026-05-20 14:40:00 +01:00
dunkaist 4230ff4a92 Update isocline, fix t011, use timegm 2026-05-20 14:37:22 +01:00
Matou1306anddunkaist 88193193fc test: ext: add comprehensive symlink resolution tests
Added tests to validate symlinks, including path resolution edge
cases, deep nesting, and error handling.

This commit modifies gen.sh to generate a dedicated test image
(ext2_symlinks.qcow2) and introduces three new tests:

- t069 (Basic Links): Validates standard file and directory symlink
  chains, testing permutations of fast/slow symlinks mixed with
  absolute/relative paths.

- t070 (Nested & Loops): Evaluates deeply nested symlink networks up
  to 42 levels (maximum allowed is 40) and circular reference loops
  to verify traversal limits and infinite loop prevention.

- t071 (Invalid Links): Checks filesystem error handling for broken
  or invalid symlinks, including missing targets, non-existent
  directories, and artificially huge paths.
2026-05-20 14:37:22 +01:00
dunkaist c93181e606 Implement tests for writing
Commands like mkdir, rm(dir), write, touch
2026-05-16 04:53:31 +01:00
Matou1306anddunkaist 61b9b22346 time tests rely on UTC instead of local timezone (#3)
Added t072 to test extra_isize
Reviewed-on: #3
Reviewed-by: Ivan B <1+dunkaist@noreply.localhost>
Co-authored-by: Matou <mathieubotros@gmail.com>
Co-committed-by: Matou <mathieubotros@gmail.com>
2026-05-11 23:09:36 +00:00
dunkaist c83d3eb1b7 runtests: Fix a race condition
I should have read `man pthread_cond_timedwait' with more attention.
2026-04-25 01:04:46 +01:00
Matou1306 2760d19955 Fix uninitialized test_tags and null-terminate tags buffer
- Default *test_tags to NULL so tests don't inherit stale stack values.
- Explicitly null-terminate the tags.txt buffer.
2026-04-24 12:51:10 +03:00
dunkaist 25f723d8b8 runtests: allow no tags.txt file 2026-04-20 21:08:03 +01:00
dunkaist f0ad3d9feb runtests: support tags
Examples:
$ cd test
$ ../runtests
$ ../runtests xfs
2026-04-20 20:25:03 +01:00
dunkaist b0767599d1 Switch to SDL3, update README and makefile 2026-04-20 20:23:12 +01:00
dunkaist 88c64eaf04 Update dependencies: lodepng and optparse 2026-04-20 20:13:37 +01:00
dunkaist 0f5a74c123 Add more wrappers: dump_dlls, dump_services, dump_shmem, int3 2026-04-03 11:45:02 +01:00
dunkaist 14554a6ac3 Fix build with sdl2-compat 2025-02-28 19:53:24 +00:00
dunkaist 67d32d9f4a Minor fix for gen.sh, add cmd_send_scancode 2025-01-22 08:08:36 +00:00
dunkaist b8269949ed umka_os: send mouse events to the kernel 2025-01-20 04:24:08 +00:00
dunkaist 4068524e00 Add an iso9660 test, sync with the upstream 2025-01-10 22:46:33 +00:00
dunkaist 78db00fef9 Fix coverage collection 2024-03-02 14:28:47 +00:00
dunkaist 0073eb0cc9 Sync with upstream 2024-01-15 02:35:06 +00:00
dunkaist b5ba1ea9f3 Remove test/makefile (use runtests now) 2023-09-03 06:11:07 +01:00
dunkaist 1e46f84cf9 Sync kernel structures with upstream, update tests 2023-09-01 22:57:11 +01:00
dunkaist 085a7bdd4b runtests: check if run.us file exists 2023-07-21 05:45:31 +01:00
dunkaist adb27c381c Remove old test artefacts 2023-07-21 05:22:34 +01:00
dunkaist d111f33f4c Convert disabled tests to the new format 2023-07-21 05:16:09 +01:00
dunkaist 3ba7a2cc55 Remove all the acpi tests from main 2023-07-21 05:09:21 +01:00
dunkaist 5024aa1ac4 Remove 026 acpi test from main 2023-07-21 05:06:55 +01:00
dunkaist b21cd26088 Remove tests in the legacy format. Use runtest instead 2023-07-21 04:00:34 +01:00
dunkaist b17c5f3456 Increase t056 timeout to 45s 2023-07-19 23:33:50 +01:00
dunkaist b2147f8b89 Sync wdata structure with upstream 2023-07-19 23:23:19 +01:00
dunkaist d6081382bc Ignore '\r' char in board_get 2023-07-19 21:52:00 +01:00
dunkaist 8848ad6833 Support -f (flush) option to board_get command 2023-07-19 21:10:24 +01:00
dunkaist 32e460b8f3 Add another wrapper: kos_sys_misc_load_file 2023-07-19 19:10:06 +01:00
dunkaist 462f1c3075 Add .gitattributes to fix test logs (eol style) 2023-02-20 04:26:47 +00:00
dunkaist 2f58d4453d Use a CreateProcessA argument instead of chdir on Windows
Plus minor build fixes
2023-02-20 03:09:07 +00:00
dunkaist d59526a8af Fix to align with the KolibriOS upstream 2023-02-20 01:52:44 +00:00
dunkaist 0b6d607c77 [runtests] Implement windows-specific logic of the test runner 2023-02-20 01:05:01 +00:00
dunkaist 8b30bd62e3 Convert tests to the new format 2023-02-17 02:04:54 +00:00
dunkaist 1768109979 Fix cmpfiles() in runtests, add two tests in the new format 2023-02-16 21:10:11 +00:00
dunkaist f5a5044e20 Implement new test runner, mainly for timeouts 2023-02-16 19:32:37 +00:00
dunkaist e027ef8ea9 [vdisk/qcow2] Handle the return value of open(2) properly 2023-02-16 19:26:31 +00:00
dunkaist 99515bca17 Move a helper script (indent_begin_end.py) to contrib dir 2023-02-16 19:24:59 +00:00
dunkaist e2afb85d9f Move lodepng files to deps/lodepng dir 2023-02-14 14:29:54 +00:00
dunkaist ab563f3db9 Add shell commands wait_for_os_idle, wait_for_window 2023-02-13 23:48:48 +00:00
dunkaist 40fa7218b1 Use mem_test from init.inc 2023-02-12 23:13:49 +00:00