commit | 6fcef9a09ccd08625ad4e73f5e89cd1fe2feeaba | [log] [tgz] |
---|---|---|
author | Petr Lautrbach <plautrba@redhat.com> | Thu Sep 15 16:39:28 2016 +0200 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Thu Sep 15 13:47:25 2016 -0400 |
tree | c2715644bf4668a2d6937aa34ab7dfe3fb3f1342 | |
parent | 3aedecefc7ff293382961f01756f8a8691e5e0cd [diff] |
sandbox: tests - close stdout of p1 p1.stdout should be closed after it's connected to p2 according to https://docs.python.org/3/library/subprocess.html#replacing-shell-pipeline Fixes: $ make PYTHON=python3 test Verify that we can read file descriptors handed to sandbox ... /usr/lib64/python3.5/unittest/case.py:638: ResourceWarning: unclosed file <_io.BufferedReader name=4> testMethod() Signed-off-by: Petr Lautrbach <plautrba@redhat.com>