3 # Test the commands that use get_*_series, while applying guards
6 source $REG_DIR/scaffold
10 function fixup_time_info
12 touch -d "$GIT_COMMITTER_DATE" ".git/patches/master/$1"
25 # create a couple of dummy (empty) patches strategically placed thoughout
38 fixup_time_info second
40 fixup_time_info fourth
45 # no guarded patches; no guards selected
52 # no guarded patches; one guard selected
60 # one positive guarded patch; no guards selected
62 cmd guilt-guard
$p +foo
69 # one positive guarded patch; that guard selected
77 # one positive guarded patch; different guard selected
86 # one negative guarded patch; no guards selected
89 cmd guilt-guard
$p -foo
96 # one negative guarded patch; that guard selected
104 # one negative guarded patch; different guard selected