]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fix test test_selinuxenabled_doesnt_exist
authorJan Fajerski <jfajerski@suse.com>
Fri, 22 Nov 2019 10:09:22 +0000 (11:09 +0100)
committerJan Fajerski <jfajerski@suse.com>
Fri, 22 Nov 2019 10:11:47 +0000 (11:11 +0100)
commitaf30c7f956380beb3bc4021d60b9229a82bda4e2
treec7647bbd2e73e5c5f2a78b4b028aedc43273b01f
parent77226cd2011ce0b452d961b0c5aa6a894f6588b3
ceph-volume: fix test test_selinuxenabled_doesnt_exist

Popen does not open a shell by default, so A FileNotFoundError is
raised instead of returning a 127 return code.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
src/ceph-volume/ceph_volume/tests/util/test_system.py