Commit Graph

37 Commits

Author SHA1 Message Date
4a6f3e3039 Add mksamehash utility to make same-hash directories
Yes, first you generate names with gensamehash (very slow) and then
make many directories with mksamehash (relatively fast).
2023-01-09 02:07:20 +00:00
bbc42c6436 Implement qcow2 support, convert most images from raw
This allows exbibyte-sized images, compression and (potentially)
non-destructive writing.
2023-01-09 02:07:20 +00:00
464b92cda4 Change filename suffix of raw images from .img to .raw 2023-01-09 02:07:05 +00:00
887b904904 Split vdisk to vdisk_raw and vdisk_qcow2
vdisk_raw got existing functionality, no new features. Qcow2 support is
yet to be implemented. Miniz was imported with that in mind.
2023-01-09 02:06:52 +00:00
fecf7be637 Add two tools: mkdoubledirs and gensamehash
mkdoubledirs creates pairs of directories a/a, b/b, c/c etc. This is to
test file lookup code: there must be a directory named blah only if the
current directory is named blah too.

gensamehash generates file names with the same XFS hash to test the
code that resolves collisions. In principle, can be updated for other
hashes: ext*, exfat, etc.
2023-01-02 01:50:02 +00:00
d82c5530ed Wrap fs_execute, works for umka_os tool! 2022-06-25 02:41:23 +04:00
d479f8a121 umka_os: Load very basic userspace KolibriOS app 2022-05-26 16:45:36 +04:00
985f10fb88 Add tup build stub. 2022-03-12 00:20:40 +04:00
3cf74d2664 Sync with KolibriOS trunk
Tested on r9710.
2022-02-09 22:19:54 +03:00
5eb6770760 Improve build on Windows via llvm-mingw 2021-12-13 16:57:05 +03:00
mkostoevr
bc5091705b Update workflow
- Add test target to main makefile
- Update .gitignore
- Simplify test/makefile
2021-12-12 21:54:12 +03:00
2f8181504c Implement and export more acpi wrappers. 2021-11-03 17:28:03 +03:00
72570a7bc3 Add ahci_init label, new tests, update logs. 2021-09-20 07:20:06 +03:00
f4921f9b9f Add one more Atom test config, update logs. 2020-11-19 04:21:15 +03:00
f7942d2eb3 New tool lfbviewx, new shell commands, fix bug in process_info(-1).
* lfbviewx: LFB viewer for X. Reads framebuffer of umka_os and displays
  the picture in X window.
* New shell commands: dump_appdata, dump_taskdata, mouse_move.
* Bug with process_info is because SLOT_BASE in umka_os is not aligned
  on 0x10000. Mitigated with a macro.
2020-10-12 06:02:02 +03:00
ae9c2198b6 Make umka_os use scheduler from KolibriOS kernel!
Also,
* Add more syscall wrappers;
* Replace puts(usage) with fputs(usage, fout);
* Remove some dead code.
2020-10-10 02:30:52 +03:00
70551882a9 Add stub for ACPI unit tests. 2020-05-20 14:17:31 +03:00
b22d2aacf3 Add commands shell_acpi_{set,get}_usage, update test logs. 2020-05-20 14:13:20 +03:00
9abb53b2cd Add ACPI and PCI test files from real HW. 2020-05-18 16:20:17 +03:00
96d52454b7 Prototype of multitasking via sigsetjmp/siglongjmp. 2020-05-08 07:44:32 +03:00
67f7873e27 Coverage collection speed up 4x!
Also, adjust disk cache size and
move set_eflags_tf() to trace_lbr.c.
2020-02-21 05:21:09 +03:00
b2819b485b Save screenshots to PNG, make tests compare screenshots. 2020-02-19 03:56:58 +03:00
759b526b3d Start using POSIX getopt. 2020-02-18 05:30:16 +03:00
b23e29d6d1 Add wrappers to graphic syscalls. 2020-02-06 06:19:20 +03:00
750efc930a Move basic graphics to userspace! 2020-02-05 05:41:00 +03:00
07ca60a749 Implement line coverage collection and reporting! 2020-01-29 13:53:13 +03:00
68454dbe4d Make an order in test/ directory, write proper makefile. 2019-10-22 05:24:44 +03:00
c4a635322a Extend sector numbers to 64 bit, dump hash and bytes of read data. 2019-10-21 05:51:56 +03:00
1bb4c6f8d7 Collect coverage via LBR profiling. 2019-10-09 02:35:47 +03:00
6325dda0da Add read_all and read_range, update tests, fixes 2018-06-18 04:55:51 +03:00
bd2e078d13 Add tests, generate hdd images on the fly. 2018-05-19 18:50:15 +03:00
cff6d94c58 Use llseek syscall instead of lseek. 2018-05-15 09:54:22 +03:00
2c3cd9c7c1 Add ranged ls and f70status enum. 2018-05-14 10:54:05 +03:00
d02cbfd7ef Call kos_fuse_lfn, add tools/mkdirrange, cleanup. 2018-05-10 00:08:52 +03:00
9c7ebc5136 Use dyndisk KolibriOS code, add test prototypes. 2018-05-06 22:58:05 +03:00
c162146abb Use fuse3, rewrite no-fuse version in C. 2017-10-18 23:19:53 +03:00
397aba3a06 Initial commit. 2017-10-18 03:07:52 +03:00