pack-bitmap: drop unused `reuse_objects`
[alt-git.git] / t / t0062-revision-walking.sh
blobb9480c8178193e4eba46dd2d581e1aa4eaa5dae6
1 #!/bin/sh
3 # Copyright (c) 2012 Heiko Voigt
6 test_description='Test revision walking api'
8 TEST_PASSES_SANITIZE_LEAK=true
9 . ./test-lib.sh
11 cat >run_twice_expected <<-EOF
12 1st
13 > add b
14 > add a
15 2nd
16 > add b
17 > add a
18 EOF
20 test_expect_success 'setup' '
21 echo a > a &&
22 git add a &&
23 git commit -m "add a" &&
24 echo b > b &&
25 git add b &&
26 git commit -m "add b"
29 test_expect_success 'revision walking can be done twice' '
30 test-tool revision-walking run-twice >run_twice_actual &&
31 test_cmp run_twice_expected run_twice_actual
34 test_done