]> git.apps.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 14:33:00 +0000 (15:33 +0100)
commit61d113cf11ee57b35a3cbc721683fb58b585141c
tree194efa387dec41c7146efd5725c337dd6a50f581
parent9989c20373e2294b7479ec4bd6ac5cce80b01645
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>
(cherry picked from commit af30c7f956380beb3bc4021d60b9229a82bda4e2)
src/ceph-volume/ceph_volume/tests/util/test_system.py