summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWarren Togami <wtogami@redhat.com>2009-07-01 15:41:26 -0400
committerWarren Togami <wtogami@redhat.com>2009-07-01 15:41:26 -0400
commitf910f0062787c7b66c61b6e46df51ad848b2132e (patch)
tree429371b2c2aa343a85cd08e413cd9ab3ef63a1a2 /test
parent22a27a5023ea90877306359990c98fea8bb91377 (diff)
Remove the NBD legacy format. It wasn't actually matching Debian's nbdroot implementation.
Talked with Debian nbdroot author and he agreed we shouldn't support their obsolete syntax in dracut. Their root=/dev/nbd[0-9] is no longer needed. Also their syntax was very standardized requiring a separate boot= parameter.
Diffstat (limited to 'test')
-rwxr-xr-xtest/TEST-40-NBD/test.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/TEST-40-NBD/test.sh b/test/TEST-40-NBD/test.sh
index 7665741..26a8dc4 100755
--- a/test/TEST-40-NBD/test.sh
+++ b/test/TEST-40-NBD/test.sh
@@ -120,22 +120,6 @@ test_run() {
"root=nbd:192.168.50.1:2000:ext2:errors=panic:bs=2048" \
ext2 errors=panic || return 1
- # Check legacy parsing
-
- client_test "NBD root=nbd nbdroot=srv:port" 52:54:00:12:34:00 \
- "root=nbd nbdroot=192.168.50.1:2000" || return 1
-
- # This test must fail: root=dhcp ignores nbdroot
- client_test "NBD root=dhcp nbdroot=srv:port" 52:54:00:12:34:00 \
- "root=dhcp nbdroot=192.168.50.1:2000" && return 1
-
- client_test "NBD root=nbd nbdroot=srv,port" 52:54:00:12:34:00 \
- "root=nbd nbdroot=192.168.50.1,2000" || return 1
-
- # This test must fail: root=dhcp ignores nbdroot
- client_test "NBD root=dhcp nbdroot=srv,port" 52:54:00:12:34:00 \
- "root=dhcp nbdroot=192.168.50.1,2000" && return 1
-
# DHCP root-path parsing
client_test "NBD root=dhcp DHCP root-path nbd:srv:port" 52:54:00:12:34:01 \