Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adapt lxc-attach tests & add test for pty logging
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>
- Loading branch information
Christian Brauner
committed
Apr 10, 2016
1 parent
bebc48f
commit e96e503
Showing
1 changed file
with
47 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters