TEST-20-NFS: skip root=/dev/nfs tests with systemd v230

master
Harald Hoyer 2016-06-23 16:36:43 +02:00
parent 7e51abc81f
commit f6fa9ef101
1 changed files with 8 additions and 6 deletions

View File

@ -114,6 +114,7 @@ test_nfsv3() {
client_test "NFSv3 root=dhcp DHCP path only" 52:54:00:12:34:00 \
"root=dhcp" 192.168.50.1 -wsize=4096 || return 1

if [[ "$(systemctl --version)" != *"systemd 230"* ]] 2>/dev/null; then
client_test "NFSv3 Legacy root=/dev/nfs nfsroot=IP:path" 52:54:00:12:34:01 \
"root=/dev/nfs nfsroot=192.168.50.1:/nfs/client" 192.168.50.1 -wsize=4096 || return 1

@ -122,6 +123,7 @@ test_nfsv3() {

client_test "NFSv3 Legacy root=/dev/nfs DHCP IP:path" 52:54:00:12:34:01 \
"root=/dev/nfs" 192.168.50.2 -wsize=4096 || return 1
fi

client_test "NFSv3 root=dhcp DHCP IP:path" 52:54:00:12:34:01 \
"root=dhcp" 192.168.50.2 -wsize=4096 || return 1