Displaying 1 result from an estimated 1 matches for "create_delete_loop".
2009 Jun 25
1
DO NOT REPLY [Bug 6508] New: Inconsistent exit code behavior between local, ssh transport, and rsyncd transport
...rsync start"
(3) Create a loop script to create/delete files as rapidly as possible:
#!/bin/sh
mkdir -p src
while true; do
tempfile=`mktemp src/somefile.XXXXXXXX`
rm -f $tempfile
done
(4) Invoke about 10 copies of that script as background processes. I called my
script "create_delete_loop.sh", and then just did:
./create_delete_loop.sh &
[repeat previous command 10 times]
(5) Now compare the output of the following commands:
rsync -av src/ dst/ ; echo $?
[Correctly exits with code 24]
rsync -av root@localhost:src/ dst/ ; echo $?
[Correctly exits with...