wrapper for os-independent seq command
[guilt.git] / regression / t-027.sh
blob93ca43a704815de953f2058ac27f52fa326de1a2
1 #!/bin/bash
3 # Test the refresh code
6 source $REG_DIR/scaffold
8 cmd setup_repo
10 function fixup_time_info
12 touch -a -m -t "$TOUCH_DATE" ".git/patches/master/$1"
15 echo abcdef >> def
16 shouldfail guilt-refresh
18 cmd list_files
20 cmd git reset --hard HEAD
22 cmd guilt-push modify
24 echo abcdef >> def
25 cmd guilt-refresh
26 cmd guilt-pop
27 fixup_time_info modify
28 cmd guilt-push modify
30 cmd list_files
32 # FIXME: we should check that the patch actually contains what it should,
33 # test arguments work the way they should