Lines Matching defs:lxcpath
297 * @lxcpath : the lxcpath in which to create the container
302 static struct lxc_container *test_ct_create(const char *lxcpath,
309 if (lxcpath) {
310 ret = mkdir(lxcpath, 0755);
312 TSTERR("failed to mkdir %s %s", lxcpath, strerror(errno));
317 if ((ct = lxc_container_new(name, lxcpath)) == NULL) {
324 ct = lxc_container_new(name, lxcpath);
349 static int test_attach(const char *lxcpath, const char *name, const char *template)
354 TSTOUT("Testing attach with on lxcpath:%s\n", lxcpath ? lxcpath : "<default>");
355 ct = test_ct_create(lxcpath, NULL, name, template);