Comment 1 for bug 1659950

Revision history for this message
Nahuel Greco (ngreco) wrote :

A reproducible test:

~$ cd /tmp/
/tmp$ mkdir a b
/tmp$ cd a
/tmp/a$ head -c 100000 /dev/urandom > test
/tmp/a$ ls -l test
-rw-r--r-- 1 nahuel nahuel 100000 Jan 27 18:27 test
/tmp/a$ cd ../b
/tmp/b$ timeout 3 rsync -u --inplace --partial --bwlimit=2k --progress -va ../a/test .
sending incremental file list
test
         32,768 32% 0.00kB/s 0:00:00
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(632) [sender=3.1.1]
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at io.c(504) [generator=3.1.1]
/tmp/b$ ls -l test
-rw------- 1 nahuel nahuel 0 Jan 27 18:28 test
/tmp/b$ timeout 3 rsync -u --inplace --partial --bwlimit=2k --progress -va ../a/test .
sending incremental file list

sent 59 bytes received 12 bytes 142.00 bytes/sec
total size is 100,000 speedup is 1,408.45
/tmp/b$ ls -l test
-rw------- 1 nahuel nahuel 0 Jan 27 18:28 test
nahuel@serge:/tmp/b$