test: return the iteration number to the end of the test path
test: return the iteration number to the end of the test path

When we generate a path to the previous images, we take a directory name
and the previous iteration number.

Reported-by: Mr Jenkins
Signed-off-by: Andrew Vagin <74c05afa918858348d6db8037d82fa8124870113@openvz.org>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>

tych0/criu,fbocharov/criu,AuthenticEshkinKot/criu,AuthenticEshkinKot/criu,fbocharov/criu,svloyso/criu,gablg1/criu,rentzsch/criu,efiop/criu,wtf42/criu,tych0/criu,ldu4/criu,KKoukiou/criu-remote,gonkulator/criu,efiop/criu,LK4D4/criu,AuthenticEshkinKot/criu,biddyweb/criu,LK4D4/criu,sdgdsffdsfff/criu,eabatalov/criu,efiop/criu,gonkulator/criu,gablg1/criu,LK4D4/criu,sdgdsffdsfff/criu,svloyso/criu,rentzsch/criu,sdgdsffdsfff/criu,AuthenticEshkinKot/criu,fbocharov/criu,ldu4/criu,biddyweb/criu,LK4D4/criu,gonkulator/criu,efiop/criu,marcosnils/criu,efiop/criu,sdgdsffdsfff/criu,gablg1/criu,KKoukiou/criu-remote,fbocharov/criu,wtf42/criu,eabatalov/criu,marcosnils/criu,svloyso/criu,fbocharov/criu,efiop/criu,svloyso/criu,rentzsch/criu,biddyweb/criu,svloyso/criu,KKoukiou/criu-remote,gablg1/criu,biddyweb/criu,gonkulator/criu,eabatalov/criu,wtf42/criu,marcosnils/criu,KKoukiou/criu-remote,rentzsch/criu,ldu4/criu,biddyweb/criu,KKoukiou/criu-remote,sdgdsffdsfff/criu,AuthenticEshkinKot/criu,tych0/criu,AuthenticEshkinKot/criu,gablg1/criu,sdgdsffdsfff/criu,eabatalov/criu,LK4D4/criu,KKoukiou/criu-remote,LK4D4/criu,ldu4/criu,ldu4/criu,gonkulator/criu,gonkulator/criu,tych0/criu,rentzsch/criu,tych0/criu,wtf42/criu,marcosnils/criu,wtf42/criu,eabatalov/criu,tych0/criu,ldu4/criu,gablg1/criu,rentzsch/criu,marcosnils/criu,fbocharov/criu,wtf42/criu,svloyso/criu,marcosnils/criu,biddyweb/criu,eabatalov/criu