3 test_description='Deltification regression test'
5 ../test-delta 2>/dev/null
7 echo "* Skipping test-delta regression test."
15 echo smallish >smallish
16 cat ../../COPYING >large
17 sed -e 's/GNU/G.N.U/g' large >largish
19 test_expect_success 'No regression in deltify code' \
22 for src in empty small smallish large largish
24 for dst in empty small smallish large largish
26 if test-delta -d $src $dst delta-$src-$dst &&
27 test-delta -p $src delta-$src-$dst out-$src-$dst &&
28 cmp $dst out-$src-$dst
30 echo "* OK ($src->$dst deitify and apply)"
32 echo "* FAIL ($src->$dst deitify and apply)"