|
|
131ba36d93
|
cmdlist refactor: use cmdlist instead of command_list as a shorthand
I hope this doesn't break too much code ^^
|
2025-03-28 14:50:37 +01:00 |
|
|
|
56fe943efc
|
cmdlist: use new architecture (STUB)
I fixed the tests, and the basic functionallity of detecting pipelines works,
but detecting nested cmdgroups is not yet implemented
|
2025-03-28 14:50:37 +01:00 |
|
|
|
55d21196b8
|
cmdgroup: start implementing debug routines
|
2025-03-28 14:50:37 +01:00 |
|
|
|
9707316085
|
tests: put usefull test functions in own files
|
2025-03-28 14:50:37 +01:00 |
|
|
|
f5ae3a5d8d
|
tests: add a test_ prefix to all files that contain actual tests
This will make it easier to differentiate with utility files, as the next change
will add sevral
|
2025-03-28 14:50:37 +01:00 |
|
|
|
bc5be67bf6
|
cmdgroup parsing: parse empty wordlist
|
2025-03-28 14:50:37 +01:00 |
|
|
|
10b1ac6711
|
expansion: add some more test cases
|
2025-03-21 14:07:00 +01:00 |
|
Jérôme Guélen
|
e348040ea4
|
Subst: A norm NON-compliant and incomplete version
The code does not update flags yet and is to be refactored to conform to the
norm.
Tests required but needing a new version of the wordsplitting code.
|
2025-03-21 10:07:32 +01:00 |
|
|
|
cae2dfe4d6
|
here_doc: basic setup
|
2025-03-11 14:58:13 +01:00 |
|
|
|
4116c2d92f
|
wordlist: add destroy_idx and pop_idx functions
|
2025-03-10 16:08:59 +01:00 |
|
|
|
06ebcf132a
|
redirection parsing: handle commands with no redirections
|
2025-03-10 15:10:18 +01:00 |
|
|
|
ccbd89708f
|
tests: add simple reproducer for cmdlist use-after-free
|
2025-03-10 13:22:29 +00:00 |
|
|
|
d303f22b73
|
wip: tests: show more debug information
|
2025-03-10 13:22:29 +00:00 |
|
|
|
eb21f00156
|
command list parsing: handle empty input
This is really not that usefull, it is more to setup the groundwork
|
2025-03-10 13:22:29 +00:00 |
|
|
|
0fecded23b
|
quote removal: handle strings with no quotes
|
2025-03-07 11:09:21 +01:00 |
|
|
|
256a8f5f9b
|
pipeline: handle parsing of single-command pipelines
|
2025-02-24 14:56:16 +01:00 |
|
|
|
49d7a2b9ff
|
simple_cmd: initial setup of create/destroy functions
|
2025-02-21 12:44:17 +01:00 |
|
|
|
fc985ea046
|
fix(tests): also run tests if test program did not change
|
2025-02-20 14:55:29 +01:00 |
|
|
|
a083800506
|
word splitting: a single word is not split
Sorry this commit is a bit big, lots of groudwork is being established here
|
2025-02-20 14:55:29 +01:00 |
|
|
|
871571e258
|
tests: more clear output log
|
2025-02-20 14:47:31 +01:00 |
|
Jérôme Guélen
|
660d785237
|
ENV: A small set of functions for internal env
|
2025-02-19 14:34:09 +01:00 |
|
|
|
18a2835a7c
|
tests: add testutils
|
2025-02-19 14:34:09 +01:00 |
|
|
|
9ac8588518
|
envp_get_key: add tests
|
2025-02-19 14:34:09 +01:00 |
|
|
|
c7a86eecfd
|
tests: tests can now use libft
|
2025-02-19 14:34:08 +01:00 |
|
|
|
e877b8dbd5
|
fix(tests): correctly handle dependencies in test makefile
|
2025-02-11 18:47:46 +01:00 |
|
Khaïs COLIN
|
60d9b212fb
|
tests: add infrastructure for writing tests in C
|
2025-02-07 15:29:43 +01:00 |
|