Skip to content

Commit

Permalink
qa: no need to link the test/scratch to the local directories
Browse files Browse the repository at this point in the history
The xfstests-dev tool will mount the test/scratch to the local
directories. The soft links here make no sense.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
  • Loading branch information
lxbsz committed Nov 23, 2022
1 parent f43a632 commit e18a03b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions qa/tasks/cephfs/xfstests_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,12 @@ def get_test_and_scratch_dirs_ready(self):
# read var name as "test dir's mount path"
self.test_dirs_mount_path = self.mount_a.client_remote.mkdtemp(
suffix=self.test_dirname)
self.mount_a.run_shell(['sudo','ln','-s',join(self.mount_a.mountpoint,
self.test_dirname),
self.test_dirs_mount_path])

self.scratch_dirname = 'scratch'
self.mount_a.run_shell(['mkdir', self.scratch_dirname])
# read var name as "scratch dir's mount path"
self.scratch_dirs_mount_path = self.mount_a.client_remote.mkdtemp(
suffix=self.scratch_dirname)
self.mount_a.run_shell(['sudo','ln','-s',join(self.mount_a.mountpoint,
self.scratch_dirname),
self.scratch_dirs_mount_path])

def install_deps(self):
from teuthology.misc import get_system_type
Expand Down

0 comments on commit e18a03b

Please sign in to comment.