Commit Graph

51 Commits

Author SHA1 Message Date
Foorack
57b9c1f0f4 lsmem: Implement sysroot, add many test, more output alignment with util-linux 2025-02-09 12:21:32 +01:00
Foorack
306a366900 Add tests 2025-02-09 12:20:33 +01:00
Foorack
4b4f4932f7 Remove padding from table and add test 2025-02-09 12:20:33 +01:00
Daniel Hofstetter
adaf45f9a2 lscpu: disable test_hex test 2025-02-08 16:05:40 +01:00
Yang Hau
4fc7653e84 lscpu: Add option --json
closes #15
2025-02-08 16:05:26 +01:00
Sylvestre Ledru
9f5f567d90 Merge pull request #194 from dezgeg/blockdev
blockdev: Add tool
2025-02-05 18:19:41 +01:00
Daniel Hofstetter
6d3f21f999 lscpu: rename test function 2025-02-05 16:29:44 +01:00
Harshit Verma
16817945c4 test: add hex flag test for lscpu 2025-01-24 22:28:48 +05:30
Tuomas Tynkkynen
8c98151001 blockdev: Add tool
This supports most of the functionality; only missing functionality is
--report with no arguments.
2025-01-19 01:39:27 +02:00
Daniel Hofstetter
c07ff50a7c dmesg: remove useless format! in test 2025-01-10 14:36:24 +01:00
Tuomas Tynkkynen
ca574b49d3 fsfreeze: Add tool
Add fsfreeze, a Linux-specific tool used to freeze/thaw writes to a
filesystem. It's an extremely simple tool so this should have full
feature-parity.
2025-01-04 15:26:19 +02:00
Fuad Ismail
d5b2f3c7e1 tests/dmesg: remove enclosing quotes surrounding since and until option arguments. 2024-12-14 22:27:54 +07:00
Fuad Ismail
260cfbfd55 tests/dmesg: test since/until argument enclosed with single quotes. 2024-12-12 13:17:29 +07:00
Fuad Ismail
d24b1e5c59 tests/dmesg: add invalid level/facility argument test. 2024-12-12 13:05:57 +07:00
Fuad Ismail
d3b82aa376 tests/dmesg: handle fixture line endings when fixture is checked out on Windows. 2024-12-12 12:59:35 +07:00
Fuad Ismail
b90751119d tests/dmesg: use fixed offset time argument in test. 2024-12-12 12:54:58 +07:00
Fuad Ismail
99693490b0 tests/dmesg: add since/until invalid time test. 2024-12-11 11:04:50 +07:00
Fuad Ismail
4dbcceede4 tests/dmesg: add since/until test & fixture. 2024-12-11 10:32:37 +07:00
Fuad Ismail
db9b3433bc tests/dmesg: add facility and level filter tests. 2024-12-09 17:53:43 +07:00
Fuad Ismail
887e65d0ab tests/dmesg: use stderr_only.
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-11-29 23:28:56 +07:00
Fuad Ismail
a56b75f7be tests/dmesg: handle added carriage return when fixture is checked out on Windows. 2024-11-27 00:53:44 +07:00
Fuad Ismail
4c1812f128 tests/dmesg: separate time format tests. 2024-11-25 13:53:12 +07:00
Fuad Ismail
f6826b8249 tests/dmesg: add new line to expected error message. 2024-11-25 13:28:00 +07:00
Fuad Ismail
4c7d8f8253 tests/dmesg: add invalid time-format test. 2024-11-24 23:12:26 +07:00
Fuad Ismail
1cc260d414 tests/dmesg: add time-format option test & fixtures. 2024-11-24 22:56:45 +07:00
Fuad Ismail
ac6caf17e3 tests/dmesg: add kmsg-file option with nonexistent file test. 2024-11-17 09:56:01 +07:00
Fuad Ismail
0e3bab7600 tests/dmesg: handle added carriage return when fixture is checked out on Windows. 2024-11-15 21:57:16 +07:00
Fuad Ismail
9a13792127 tests/dmesg: correct comment header. 2024-11-15 19:19:34 +07:00
Fuad Ismail
7c5caf69ab tests/dmesg: create test for --kmsg-file and --json option. 2024-11-14 22:58:47 +07:00
Daniel Hofstetter
ea8f471b7a last: adapt test to fix "unused import" warnings 2024-11-08 14:33:43 +01:00
Daniel Hofstetter
b7c6eee660 tests: fix "unused import" warnings on Windows 2024-11-08 14:26:19 +01:00
Gustavo Noronha Silva
61756085fa Add setsid implementation 2024-10-06 10:36:37 -03:00
Andy
49fc7ff3ca Add last Utility (#65) 2024-09-19 17:43:18 +02:00
Sylvestre Ledru
6f77a55097 Merge pull request #84 from cakebaker/lscpu_remove_ignore
lscpu: remove `ignore` from test
2024-09-10 16:24:27 +02:00
Yang Hau
1783f0250a lsmem: Impl lsmem 2024-08-25 01:53:38 +08:00
Daniel Hofstetter
476e42a924 lscpu: remove ignore from test 2024-08-02 16:32:04 +02:00
Yang Hau
7d114bf4d5 rev: add option --zero
closes #74
2024-07-30 00:15:19 +08:00
Daniel Hofstetter
565f65c787 rev: add some tests 2024-07-27 15:44:32 +02:00
Daniel Hofstetter
7637c8180a Merge pull request #71 from howjmay/lsmem
lsmem: Add lsmem
2024-07-26 18:33:28 +02:00
Yang Hau
5091640b74 lsmem: Add lsmem 2024-07-26 23:16:11 +08:00
Sylvestre Ledru
4d4f773b58 Merge pull request #47 from cakebaker/tests_remove_spell_checker_lines
tests: remove spell-checker lines
2024-07-25 00:27:26 +02:00
Sylvestre Ledru
7497bd151f Merge pull request #28 from cakebaker/fix_unused_imports_in_tests
Remove unused imports in tests
2024-07-25 00:26:58 +02:00
Daniel Hofstetter
cc9396820b tests: remove spell-checker lines 2024-06-28 16:42:08 +02:00
sisungo
69d9c6e4a5 Implement rev (#56)
* Implement `rev`

* Use uucore facility for error reporting
2024-06-28 16:23:50 +02:00
sisungo
c9ee7d6447 Implement ctrlaltdel (#31)
* Implement ctrlaltdel

* Add tests for `ctrlaltdel`

* Bless the unit tests on unsupported platforms
2024-05-12 13:37:17 +02:00
Daniel Hofstetter
cf429883a6 Remove unused imports in tests 2024-05-06 15:58:36 +02:00
Daniel Hofstetter
3a9075987c mountpoint: remove unused imports in test 2024-04-19 09:45:15 +02:00
Sylvestre Ledru
8352da0527 remove renice: moved to https://github.com/uutils/bsdutils 2024-01-26 20:34:00 +01:00
Sylvestre Ledru
8c08862e85 rustfmt the code 2024-01-26 20:22:40 +01:00
Sylvestre Ledru
8349d5cf6a pwdx is part of procps - moved https://github.com/uutils/procps 2024-01-26 20:22:28 +01:00