From: David Dillow Date: Sat, 6 Jun 2009 05:22:54 +0000 (-0400) Subject: NFS test: rearrange the server tree so we can differentiate NFSv3 vs NFSv4 X-Git-Tag: 0.1~96 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=35b709957fc915f3e34753ef143989f9c9fbe9c9;p=thirdparty%2Fdracut.git NFS test: rearrange the server tree so we can differentiate NFSv3 vs NFSv4 --- diff --git a/test/TEST-20-NFS/dhcpd.conf b/test/TEST-20-NFS/dhcpd.conf index 7ee1cacf4..79b6a7bc5 100644 --- a/test/TEST-20-NFS/dhcpd.conf +++ b/test/TEST-20-NFS/dhcpd.conf @@ -13,7 +13,7 @@ subnet 192.168.50.0 netmask 255.255.255.0 { group { # NFSv3 root=dhcp or root={/dev/,}nfs, use server-id - option root-path "/client"; + option root-path "/nfs/client"; host nfs3-1 { hardware ethernet 52:54:00:12:34:00; diff --git a/test/TEST-20-NFS/exports b/test/TEST-20-NFS/exports index 0ec4f0ca8..27018771f 100644 --- a/test/TEST-20-NFS/exports +++ b/test/TEST-20-NFS/exports @@ -1,3 +1,2 @@ -/ 192.168.50.0/24(ro,fsid=0,insecure,no_subtree_check,no_root_squash) -/client 192.168.50.0/24(ro,insecure,no_subtree_check,no_root_squash) - +/nfs 192.168.50.0/24(ro,fsid=0,insecure,no_subtree_check,no_root_squash) +/nfs/client 192.168.50.0/24(ro,insecure,no_subtree_check,no_root_squash) diff --git a/test/TEST-20-NFS/test.sh b/test/TEST-20-NFS/test.sh index 580c4dfa7..5ec23416e 100755 --- a/test/TEST-20-NFS/test.sh +++ b/test/TEST-20-NFS/test.sh @@ -99,8 +99,8 @@ test_setup() { ) # Make client root inside server root - initdir=mnt/client - mkdir $initdir + initdir=mnt/nfs/client + mkdir -p $initdir ( . $basedir/dracut-functions