12 while [[ $i -ne $end && $st -eq 0 ]];
14 ping -c 1 -s ${i} -M dont ${dst}
19 if [[ $st -ne 0 ]]; then
20 echo "ERROR: $0 failed for dst=${dst}, sz=${i}"
32 while [[ $i -ne $end && $st -eq 0 ]];
34 ping6 -c 1 -s ${i} -M dont ${dst}
39 if [[ $st -ne 0 ]]; then
40 echo "ERROR: $0 failed for dst=${dst}, sz=${i}"
49 for sz in 1234 23456 345678 4567890 56789102 ; do
51 dd if=/dev/urandom of=${x} bs=${sz} count=1
52 scp ${x} [${dst}]:${x}
53 scp [${dst}]:${x} ${x}.copy1
54 diff -u ${x} ${x}.copy1
57 ssh ${REMOTE_HOST} rm -f ${x}
58 if [[ $st -ne 0 ]]; then