3 # Test the commands that use get_*_series, while applying guards
6 source $REG_DIR/scaffold
10 function fixup_time_info
12 touch -a -m -t "$TOUCH_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
42 fixup_time_info modify
44 fixup_time_info remove
49 # no guarded patches; no guards selected
56 # no guarded patches; one guard selected
64 # one positive guarded patch; no guards selected
66 cmd guilt-guard
$p +foo
73 # one positive guarded patch; that guard selected
81 # one positive guarded patch; different guard selected
90 # one negative guarded patch; no guards selected
93 cmd guilt-guard
$p -foo
100 # one negative guarded patch; that guard selected
108 # one negative guarded patch; different guard selected