mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
ctdb-tests: Bracket IP addresses in NFS mounts and scp command (for IPv6)
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
d9d07fff34
commit
62164ec52f
@ -59,7 +59,7 @@ ctdb_test_exit_hook_add rm -f "$local_f"
|
||||
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)
|
||||
|
@ -669,7 +669,7 @@ nfs_test_setup ()
|
||||
|
||||
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 ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user