2 # SPDX-License-Identifier: BSD-3-Clause
13 while [[ $i -ne $end && $st -eq 0 ]];
15 ping -c 1 -s ${i} -M dont ${dst}
20 if [[ $st -ne 0 ]]; then
21 echo "ERROR: $0 failed for dst=${dst}, sz=${i}"
33 while [[ $i -ne $end && $st -eq 0 ]];
35 ping6 -c 1 -s ${i} -M dont ${dst}
40 if [[ $st -ne 0 ]]; then
41 echo "ERROR: $0 failed for dst=${dst}, sz=${i}"
50 for sz in 1234 23456 345678 4567890 56789102 ; do
52 dd if=/dev/urandom of=${x} bs=${sz} count=1
53 scp ${x} [${dst}]:${x}
54 scp [${dst}]:${x} ${x}.copy1
55 diff -u ${x} ${x}.copy1
58 ssh ${REMOTE_HOST} rm -f ${x}
59 if [[ $st -ne 0 ]]; then