[LTP] [PATCH 8/8] nfs07.sh: Use TST_ALL_FILESYSTEMS=1

Petr Vorel pvorel@suse.cz
Fri May 13 11:08:30 CEST 2022


Hi,

>  testcases/network/nfs/nfs_stress/nfs07.sh | 2 ++
...
>  TST_TESTFUNC="do_test"
>  TST_SETUP="do_setup"
>  TST_USAGE="show_usage"
> +TST_ALL_FILESYSTEMS=1

It will not be that simple. Because $TST_TMPDIR is not the mountpoint
($TST_MNTPOINT mountpoint is $PWD/mntpoint, which is $TST_TMPDIR/mntpoint for
$TST_ALL_FILESYSTEMS) IMHO we need at least to:

1) cd to $TST_MNTPOINT on lhost and rhost (nfs_setup_server() runs NFS server
on lhost for netns, otherwise on rhost)
2) local_dir and remote_dir in nfs_setup need to use $TST_MNTPOINT instead of $TST_TMPDIR
=> it'd be easier to port *all* NFS tests to $TST_ALL_FILESYSTEMS, not sure if we
want that.

Kind regards,
Petr


More information about the ltp mailing list