Commit ecc0209
nfs: Adapt the lib to allow to test in 2-host mode
nfs_lib.sh checked key server_side prerequisites on the system under test.
In 2_host setup this incorrectly required server_side tools on lhost.
Switch exportfs and rpc.mountd/rpc.statd checks in nfs_setup() to
tst_rhost_run(). This aligns netns and 2-host handling in one path and
keeps 2-host checks on rhost.
Link: https://lore.kernel.org/ltp/20260223105556.31129-1-sebastian.chlad@suse.com/
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Sebastian Chlad <sebastian.chlad@suse.com>1 parent 76e20ed commit ecc0209
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
190 | 194 | | |
191 | | - | |
| 195 | + | |
192 | 196 | | |
193 | 197 | | |
194 | 198 | | |
| |||
0 commit comments