I've run the following with the fixed version and with the broken version:
rm -f my.img ;
truncate --size 1k my.img;
for((i=0;i<1000;i++)); do
out=$(euca-bundle-image -i my.img 2>&1) || { echo "failed: ${out}"; break; } ;
[ $(($i%10)) -eq 0 ] && echo i=$i;
done ;
the fixed has run to 1000 times, the broken has failed 5 times demonstrating this bug before reaching i=300.
I've run the following with the fixed version and with the broken version: 0;i<1000; i++)); do (euca-bundle- image -i my.img 2>&1) || { echo "failed: ${out}"; break; } ;
rm -f my.img ;
truncate --size 1k my.img;
for((i=
out=$
[ $(($i%10)) -eq 0 ] && echo i=$i;
done ;
the fixed has run to 1000 times, the broken has failed 5 times demonstrating this bug before reaching i=300.