mirror of
https://github.com/ceph/ceph
synced 2025-02-02 08:22:36 +00:00
d447098cfc
This new ceph-disk workunit re-implements the tests that previously were in the src/test/ceph-disk.sh src/test/ceph-disk-root.sh scripts and is meant to run in a virtual machine instead of docker. Signed-off-by: Loic Dachary <ldachary@redhat.com>
11 lines
350 B
Bash
Executable File
11 lines
350 B
Bash
Executable File
source $(dirname $0)/../ceph-helpers-root.sh true
|
|
|
|
install python-pytest
|
|
install pytest
|
|
sudo env PATH=$(dirname $0)/..:$PATH py.test -v $(dirname $0)/ceph-disk-test.py
|
|
# own whatever was created as a side effect of the py.test run
|
|
# so that it can successfully be removed later on by a non privileged
|
|
# process
|
|
sudo chown -R $(id -u) $(dirname $0)
|
|
|