Dorian Peron
6e23d4e979
tests: patch tests to simplify imports
2025-07-01 03:36:46 +02:00
Will Shuttleworth
10f8d77560
stty: add option to print terminal size
2025-06-19 08:38:47 -04:00
Will Shuttleworth
93ac655936
stty: add tests for setting rows/cols
2025-06-19 08:38:08 -04:00
Will Shuttleworth
01ac6dfd18
Merge pull request #8135 from willshuttleworth/stty-set-undefined
...
stty: fix mappings with empty string literal args
2025-06-16 09:45:11 +02:00
Will Shuttleworth
6023888363
stty: add ispeed/ospeed settings ( #8180 )
...
* stty: add ispeed/ospeed settings
* stty: fix spell check errors
2025-06-15 16:46:54 +02:00
Will Shuttleworth
4be9e7679d
stty: fix negated options getting rejected by clap
2025-06-09 17:35:06 -04:00
Will Shuttleworth
61bd11a551
stty: set control characters ( #7931 )
...
* reworked arg processing. control character mappings are correctly grouped now, ie 'stty erase ^H'
* stty: setting control chars to undefined (disabling them) is implemented
* setting control chars
* stty: can now set control chars. need to improve checks on valid mappings
* stty: matches GNU in what control character mappings are allowed
* stty: run rustfmt and remove extra comments
* stty: setting control char code review fixes
* stty: fix rustfmt errors
* stty: more small edits after review
* stty: refactor set control char changes for better testing
* stty: fix ci error
* stty: fix issues from code review
2025-06-05 11:38:51 +02:00
Sylvestre Ledru
a0179ea239
uutests: adjust the tests to use them
2025-03-28 21:40:31 +01:00
Sylvestre Ledru
18cb7dcf9e
Use the new function fails_with_code
...
Done with
```
$ perl -0777 -i -pe 's/([ \t]+)\.fails\(\)[ \t]*\n[ \t]+\.no_stdout\(\)[ \t]*\n[ \t]+\.code_is\(([0-9]+)\);/\1.fails_with_code(\2)\n\1.no_stdout();/gs' *rs
$ sed -i -e "s|.fails()(.*).code_is(|.fails_with_code(|g" *rs
$ perl -0777 -i -pe 's/([ \t]+)\.fails\(\)[ \t]*\n[ \t]+\.code_is\(([0-9]+)\);/\1.fails_with_code(\2);/gs' *rs
$ perl -0777 -i -pe 's/([ \t]+)\.fails\(\)(.*?)[ \t]+\.code_is\(([0-9]+)\);/\1.fails_with_code(\3)\2;/gs' *rs
...
```
2025-03-01 17:26:20 +01:00
Sylvestre Ledru
bfca6bf70f
Add license headers on all files
2023-08-21 10:49:27 +02:00
Daniel Hofstetter
6988eb7ec6
tests: expand wildcard imports
2023-03-20 15:32:35 +01:00
Terts Diepraam
9177cb7b24
all: add tests for usage error exit code
2022-09-10 20:59:42 +02:00
Terts Diepraam
f861fc0854
stty: print special terminal information
2022-08-18 11:33:04 +02:00
Terts Diepraam
6896a85b41
test_stty: fix spell checker errors
2022-08-18 11:33:04 +02:00
Terts Diepraam
a23702caeb
add some simple tests to stty (still failing)
2022-08-18 11:33:04 +02:00