Lines Matching refs:attach
32 #define TSTNAME "lxc-attach-test"
93 TSTOUT("Testing attach lsm label with func...\n");
103 ret = ct->attach(ct, test_attach_lsm_func_func, NULL, &attach_options, &pid);
105 TSTERR("attach failed");
142 TSTOUT("Testing attach lsm label with cmd...\n");
151 ret = ct->attach(ct, lxc_attach_run_command, &command, &attach_options, &pid);
153 TSTERR("attach failed");
204 TSTOUT("Testing attach with func...\n");
217 ret = ct->attach(ct, test_attach_func_func, NULL, &attach_options, &pid);
219 TSTERR("attach failed");
255 TSTOUT("Testing attach with success command...\n");
256 ret = ct->attach(ct, lxc_attach_run_command, &command, &attach_options, &pid);
258 TSTERR("attach failed");
264 TSTERR("attach success command got bad return %d", ret);
268 TSTOUT("Testing attach with failure command...\n");
270 ret = ct->attach(ct, lxc_attach_run_command, &command, &attach_options, &pid);
272 TSTERR("attach failed");
278 TSTERR("attach failure command got bad return %d", ret);
354 TSTOUT("Testing attach with on lxcpath:%s\n", lxcpath ? lxcpath : "<default>");
361 TSTERR("attach cmd test failed");
367 TSTERR("attach func test failed");
374 TSTERR("attach lsm cmd test failed");
380 TSTERR("attach lsm func test failed");