plist: add more test for variables handling
modified libpkg/pkg_ports.c
@@ -1079,7 +1079,7 @@ plist_free(struct plist *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1101,6 +1101,7 @@ expand_plist_variables(const char *in, kvlist_t *vars)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1116,7 +1117,6 @@ expand_plist_variables(const char *in, kvlist_t *vars)
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -1127,6 +1127,7 @@ expand_plist_variables(const char *in, kvlist_t *vars)
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -872,5 +872,6 @@ bool stringlist_contains(stringlist_t *l, const char *name);
|
|
|
|
|
|
| + | |
|
|
|
modified tests/lib/plist.c
@@ -29,6 +29,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -271,12 +272,53 @@ ATF_TC_BODY(parse_plist, tc)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|