Re: 回复: 回复: HFS/HFS+ maintainership action items

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2025-04-25 at 11:39 +0000, 李扬韬 wrote:
> Hi Adrian,
> 
> > Would you guys mind help me create an xfstest test environment as well?
> 
> I am currently running arch linux on wsl 2 in a windows laptop.
> 
> I'm following the README steps here (ing, not sure if I'll run into problems).
> 
> https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git/tree/README?h=for-next  
> git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git
> 
> Maybe slava and some other additions too?

Yes, I used this way to prepare the xfstests environment. So, the main steps:
(1) Clone git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git
(2) Install all necessary packages + hfsprog tools. This step could depends from
a particular environment. 
(3) Do make and make install. Usually, it works well but last time I had some
issues that I managed to resolve.
(4) Prepare the local.config file:

HFS case:

export TEST_DEV=/dev/sda1
export TEST_DIR=/mnt/test
export SCRATCH_DEV=/dev/sda2
export SCRATCH_MNT=/mnt/scratch

export FSTYP=hfs

HFS+ case:

export TEST_DEV=/dev/sda1
export TEST_DIR=/mnt/test
export SCRATCH_DEV=/dev/sda2
export SCRATCH_MNT=/mnt/scratch

export FSTYP=hfsplus

(5) Run the check command:

Group test (for example quick group):
sudo ./check -g quick

Particular test:
sudo ./check generic/001

Mostly, these steps should prepare the xfstests environment. Of course, it could
run on physical machine or inside of virtual machine. It needs to prepare the
two  partitions or drives (test and scratch) for testing.

If you will have some troubles, please, let me know and I will try to help. :)

Thanks,
Slava.






[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux