sandbox/bugs/restart-restore.c
Run this using something like
make restore.tst
cd restore
./restore
should give
0 0
1 1
2 2
3 3
4 4
5 5
6 6
then
cp dump restart
./restore
should give
2 2
3 3
4 4
5 5
6 6
but this does this instead
3 6 1
Run this using something like
make restore.tst
cd restore
./restore
should give
0 0
1 1
2 2
3 3
4 4
5 5
6 6
then
cp dump restart
./restore
should give
2 2
3 3
4 4
5 5
6 6
but this does this instead
3 6 1