Commit graph

536 commits

Author SHA1 Message Date
Ariadne Conill
c94c66b25c tests: add ifquery state tests 2020-07-20 08:29:14 -06:00
Ariadne Conill
09057aa977 fix up tests 2020-07-20 08:24:31 -06:00
Ariadne Conill
aa1cc0815c add a bunch more of the state stuff 2020-07-20 08:19:23 -06:00
Ariadne Conill
6fe4630f52 state: add interface alias support 2020-07-20 07:45:39 -06:00
Ariadne Conill
d4e1997486 add core state management 2020-07-20 07:42:16 -06:00
Ariadne Conill
6606432600 build: also clean ifquery objects 2020-07-20 07:37:43 -06:00
Ariadne Conill
7360042d51 tests: fix broken test when no /e/n/i file exists 2020-07-19 06:23:12 -06:00
Ariadne Conill
6c0a74eb07 gitignore: add ifquery, ifup and ifdown executables to gitignore 2020-07-19 06:20:43 -06:00
Ariadne Conill
c6ef6d1c03 implement a CI attempt 2020-07-19 06:03:08 -06:00
Ariadne Conill
0c3e4c71cf tests: add some ifquery tests 2020-07-19 04:50:30 -06:00
Ariadne Conill
f8242f6ce5 tests: verify ifquery lo always works 2020-07-19 00:17:42 -06:00
Ariadne Conill
757db993da tests: add initial skeleton for ifquery tests 2020-07-19 00:05:24 -06:00
Ariadne Conill
6904e2ef37 ifquery: usage(): use stderr 2020-07-19 00:05:12 -06:00
Ariadne Conill
a12dea25b1 build: fix up make check target 2020-07-18 20:05:02 -06:00
Ariadne Conill
e108b3c499 tests: add some ATF helpers 2020-07-18 19:52:43 -06:00
Ariadne Conill
ddc878ea20 build: add make check target 2020-07-18 19:46:59 -06:00
Ariadne Conill
bcde9e7717 tests: start working on testing capabilities 2020-07-18 19:46:32 -06:00
Ariadne Conill
1a650a126e ifquery: add --pretty-print 2020-07-18 19:35:02 -06:00
Ariadne Conill
cd2d35c6a2 ifquery: implement --include and --exclude 2020-07-18 19:31:44 -06:00
Ariadne Conill
9eea60986a ifquery: implement --list 2020-07-18 19:26:20 -06:00
Ariadne Conill
c189467707 add ifquery --version 2020-07-18 19:09:08 -06:00
Ariadne Conill
86a83d9e95 implement /e/n/i parsing 2020-07-18 18:48:49 -06:00
Ariadne Conill
26106dff75 add fgetline(3) implementation 2020-07-18 18:13:54 -06:00
Ariadne Conill
32560de5ca add stub lif_interface_file_parse() 2020-07-18 18:02:25 -06:00
Ariadne Conill
a166058b2b makefile: fix cross compilation 2020-07-18 17:57:45 -06:00
Ariadne Conill
7c068e493d ifquery: expand a bit 2020-07-18 17:44:58 -06:00
Ariadne Conill
0c59879fcf add README 2020-07-18 05:15:10 -06:00
Ariadne Conill
b2ad44e03b add code of conduct 2020-07-18 04:51:25 -06:00
Ariadne Conill
817963b586 cmd: start work on an ifquery command 2020-07-18 04:49:22 -06:00
Ariadne Conill
84a01ffdc4 libifupdown: add initial interface management code 2020-07-18 04:24:53 -06:00
Ariadne Conill
3f618d2a3b libifupdown: add a simple key-value dictionary based on linked lists 2020-07-18 03:11:43 -06:00
Ariadne Conill
803f51efe8 list: fix LIF_LIST_FOREACH_SAFE 2020-07-18 03:01:15 -06:00
Ariadne Conill
a43f8b988d list: remove #if 0 part 2020-07-18 01:59:33 -06:00
Ariadne Conill
22b48586e8 add gitignore 2020-07-18 01:58:45 -06:00
Ariadne Conill
e8d87d3d37 add linked list code 2020-07-18 01:58:24 -06:00
Ariadne Conill
21de678ec1 initial commit 2020-07-18 01:17:51 -06:00