]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa: update test cases to check for ENOTDIR instead of EINVAL
authorDhairya Parmar <dparmar@redhat.com>
Wed, 12 Apr 2023 07:57:53 +0000 (13:27 +0530)
committerDhairya Parmar <dparmar@redhat.com>
Tue, 2 May 2023 10:20:44 +0000 (15:50 +0530)
commit6342bf5d952b55382cd52613aa250504dac91f29
tree5f67729245d8085dbe74b86dd4cf13c4261a5748
parent4976c4149432f88a5cc149e3e9c9dbfe7730e457
qa: update test cases to check for ENOTDIR instead of EINVAL

- test_nfs_export_creation_at_filepath:
ENOTDIR is raised instead of EINVAL which is better
aligned with the nature of the failure

- test_nfs_export_creation_at_symlink:
ENOTDIR is raised instead of ENOENT since the code
can now check if the path is symlink but won't follow
it.

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
(cherry picked from commit 0c8962587f4a5b8e0731f32dd753efea977b00e6)
qa/tasks/cephfs/test_nfs.py