diff options
Diffstat (limited to 'src/test/test-env-replace.c')
-rw-r--r-- | src/test/test-env-replace.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/test/test-env-replace.c b/src/test/test-env-replace.c index ad5c991608..0bd42e3298 100644 --- a/src/test/test-env-replace.c +++ b/src/test/test-env-replace.c @@ -47,15 +47,7 @@ int main(int argc, char *argv[]) { NULL }; - char **i, **r, *t, **a, **b; - const char nulstr[] = "fuck\0fuck2\0fuck3\0\0fuck5\0\0xxx"; - - a = strv_parse_nulstr(nulstr, sizeof(nulstr)-1); - - STRV_FOREACH(i, a) - printf("nulstr--%s\n", *i); - - strv_free(a); + char **r, *t, **a, **b; r = replace_env_argv((char**) line, (char**) env); strv_print(r); |