Add a couple test cases
This commit is contained in:
parent
99e643dad0
commit
4ff3eb6fdf
|
@ -154,7 +154,12 @@ int main(int argc, char * argv[])
|
|||
ret |= _test2(argv[0], 0, "", "variable", NULL, NULL);
|
||||
ret |= _test2(argv[0], 15, "", "variable", "value", NULL);
|
||||
ret |= _test2(argv[0], 25, "section", "variable", "value", NULL);
|
||||
ret |= _test2(argv[0], 41, "", "variable", "value",
|
||||
"section", "variable", "value", NULL);
|
||||
ret |= _test2(argv[0], 53, "section1", "variable", "value",
|
||||
"section2", "variable", "value", NULL);
|
||||
ret |= _test2(argv[0], 80, "section1", "variable", "value",
|
||||
"section2", "variable", "value",
|
||||
"section3", "variable", "value", NULL);
|
||||
return (ret == 0) ? 0 : 2;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user