]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tests: ceph_objectstore_tool.py skip if /dev/tty fails
authorLoic Dachary <ldachary@redhat.com>
Fri, 14 Nov 2014 10:00:17 +0000 (11:00 +0100)
committerLoic Dachary <ldachary@redhat.com>
Sat, 15 Nov 2014 22:27:15 +0000 (23:27 +0100)
commit4c94f1778fdf483e9e0b62f89f7e46e78aeeebf3
treeda3797e433db350dd24596067f7b707f258f9be1
parentfc435ff3623d196dd7cc375302acd8dfc9eb59fd
tests: ceph_objectstore_tool.py skip if /dev/tty fails

Some environments do not have a /dev/tty. When opening /dev/tty fails,
skip the test instead of returning an error.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/ceph_objectstore_tool.py