]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/231: use relative path to invoke fsx
authorChristoph Hellwig <hch@lst.de>
Wed, 16 Apr 2025 04:51:11 +0000 (06:51 +0200)
committerZorro Lang <zlang@kernel.org>
Sat, 26 Apr 2025 12:53:52 +0000 (20:53 +0800)
commitb3e7ac4c5ec141ccfd29a87a6eedbe240af9955d
treec5778f47a9cd4532e6794bf3f0f433dff763e776
parentf3cbd32a49f57bfbc2b7a41a44195bd153a528ad
generic/231: use relative path to invoke fsx

This test uses su to run fsx as $qa_user.  Because the shell calling
fsx is run as $qa_user it might not be able to access the xfstests or
parent directory which might only be accessible to the user xfstests
is run as (e.g. root).  Switch back to calling fsx using a relative
path, partially reverting commit 1c67e8b191fe
("config: add FSX_PROG variable").

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/231