]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests: Add support for shell commands in containers
authorTom Hromatka <tom.hromatka@oracle.com>
Wed, 28 Oct 2020 14:08:59 +0000 (14:08 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 2 Nov 2020 22:00:33 +0000 (15:00 -0700)
commit973ecc22f6599ee9907a72cc467f004bc8e55842
tree64b3aa478258d652c4bf6e468eacdd518d78dff0
parent4b48319f989dd52388ec1ee80eb418c26940bfb9
ftests: Add support for shell commands in containers

Add support for shell commands to Container.run() method.
The parameter, shell_bool, is passed directly to Run.run()
and is ultimately sent on to subprocess.Popen().  As the
name implies, when shell_bool is set to true, the requested
command will be executed through the shell.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
ftests/container.py