6 source generic_test_data
8 function expected_files
13 f .git/patches/master/series
14 f .git/patches/master/status
15 f .git/patches/master/modify
16 f .git/patches/master/add
17 f .git/patches/master/remove
18 f .git/patches/master/mode
22 function patch_name_dir
26 function expected_files_dir
30 f .git/patches/master/aaa
34 function patch_name_subdir
38 function expected_files_subdir
42 d .git/patches/master/abc
43 f .git/patches/master/abc/def
47 function patch_name_subsubdir
51 function expected_files_subsubdir
55 d .git/patches/master/foo
56 d .git/patches/master/foo/bar
57 f .git/patches/master/foo/bar/patch
61 function expected_files_append
63 expected_files_subsubdir
64 echo "f .git/patches/master/append"
67 function expected_files_prepend
70 echo "f .git/patches/master/prepend"
78 generic_prepare_for_tests
80 tests
="dir subdir subsubdir"
83 guilt-new
`patch_name_$t`
85 expected_files_
$t | verify_repo .git
/patches
90 guilt-push
--all > /dev
/null
93 expected_files_append | verify_repo .git
/patches
96 guilt-pop
-a > /dev
/null
99 expected_files_prepend | verify_repo .git
/patches