Skip to content

Commit d0b9e59

Browse files
committed
tests: config_format: Add converter and tests for parser .conf -> .yaml
Signed-off-by: Hank Leininger <[email protected]>
1 parent 375079e commit d0b9e59

19 files changed

+704
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.conf
2+
*.yaml
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Convert parser .conf files to .yaml, and validate they behave the same.
2+
3+
fb-parser-conf2yaml.pl can convert all conf/parser*conf files.
4+
5+
parser*.test files are the example logs linked to in existing .conf files.
6+
7+
To use:
8+
9+
- copy parser .conf files to pwd, like:
10+
11+
cp ../../../../../conf/parser*conf .
12+
13+
- convert them all:
14+
15+
./fb-parser-conf2yaml.pl *.conf
16+
17+
To test:
18+
19+
./run_tests.sh
20+

0 commit comments

Comments
 (0)