Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
dd if=/dev/urandom of=$local_f bs=1k count=1
local_sum=$(sum $local_f)
-scp -p "$local_f" "${test_ip}:${nfs_remote_file}"
+scp -p "$local_f" "[${test_ip}]:${nfs_remote_file}"
try_command_on_node $test_node "chmod 644 $nfs_remote_file"
nfs_sum=$(sum $nfs_local_file)
echo "Mounting ${test_ip}:${nfs_first_export} on ${nfs_mnt_d} ..."
mount -o timeo=1,hard,intr,vers=3 \
- ${test_ip}:${nfs_first_export} ${nfs_mnt_d}
+ "[${test_ip}]:${nfs_first_export}" ${nfs_mnt_d}
}
nfs_test_cleanup ()