]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
NFS test: add test for nfs[4]:srv:/path syntax
authorDavid Dillow <dave@thedillows.org>
Mon, 8 Jun 2009 04:03:10 +0000 (00:03 -0400)
committerDavid Dillow <dave@thedillows.org>
Mon, 8 Jun 2009 04:03:10 +0000 (00:03 -0400)
test/TEST-20-NFS/test.sh

index 658336669c41d0781596ae77a36f1dc7eea49980..e66d2888298de97a47257a739fd39175a9be786c 100755 (executable)
@@ -125,6 +125,9 @@ test_nfsv3() {
     client_test "NFSv3 root=dhcp DHCP proto:IP:path:options" 52:54:00:12:34:03 \
        "root=dhcp" 192.168.50.3 wsize=4096 || return 1
 
+    client_test "NFSv3 root=nfs:..." 52:54:00:12:34:04 \
+       "root=nfs:192.168.50.1:/nfs/client" 192.168.50.1 -wsize=4096 || return 1
+
     client_test "NFSv3 nfsroot=/nfs/client" 52:54:00:12:34:04 \
        "nfsroot=/nfs/client" 192.168.50.1 -wsize=4096 || return 1
 
@@ -183,6 +186,10 @@ test_nfsv4() {
     client_test "NFSv4 root=dhcp DHCP proto:IP:path:options" 52:54:00:12:34:83 \
        "root=dhcp" 192.168.50.3 wsize=4096 || return 1
 
+    client_test "NFSv4 root=nfs4:..." 52:54:00:12:34:84 \
+       "root=nfs4:192.168.50.1:/client" 192.168.50.1 \
+       -wsize=4096 || return 1
+
     client_test "NFSv4 root=nfs4 nfsroot=/client" 52:54:00:12:34:84 \
        "root=nfs4 nfsroot=/client" 192.168.50.1 -wsize=4096 || return 1