The current tests for lxc-attach pty allocation and I/O redirection rely on the
standard file descriptors of the test script to refer to a pty. If they do not
the tests are effectively useless with respect to pty allocation. We need a test
environment with the standard file descriptors refering to a pty as well. One
solution is to run this test under the script command.
This commit also adds a test whether pty logging works. This test is only
executed when all standard file descriptors refer to a pty.
Signed-off-by:
Christian Brauner <christian.brauner@mailbox.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Makefile.am | Loading commit data... | |
| aa.c | Loading commit data... | |
| attach.c | Loading commit data... | |
| cgpath.c | Loading commit data... | |
| clonetest.c | Loading commit data... | |
| concurrent.c | Loading commit data... | |
| console.c | Loading commit data... | |
| containertests.c | Loading commit data... | |
| createtest.c | Loading commit data... | |
| destroytest.c | Loading commit data... | |
| device_add_remove.c | Loading commit data... | |
| get_item.c | Loading commit data... | |
| getkeys.c | Loading commit data... | |
| list.c | Loading commit data... | |
| locktests.c | Loading commit data... | |
| lxc-test-apparmor-mount | Loading commit data... | |
| lxc-test-automount | Loading commit data... | |
| lxc-test-autostart | Loading commit data... | |
| lxc-test-checkpoint-restore | Loading commit data... | |
| lxc-test-cloneconfig | Loading commit data... | |
| lxc-test-createconfig | Loading commit data... | |
| lxc-test-lxc-attach | Loading commit data... | |
| lxc-test-snapdeps | Loading commit data... | |
| lxc-test-symlink | Loading commit data... | |
| lxc-test-ubuntu | Loading commit data... | |
| lxc-test-unpriv | Loading commit data... | |
| lxc-test-usernic.in | Loading commit data... | |
| lxcpath.c | Loading commit data... | |
| may_control.c | Loading commit data... | |
| reboot.c | Loading commit data... | |
| saveconfig.c | Loading commit data... | |
| shutdowntest.c | Loading commit data... | |
| snapshot.c | Loading commit data... | |
| startone.c | Loading commit data... |