Remove 'dash' commands and install os.* files
[guilt/mob.git] / regression / t-027.sh
blobee70229ca940e3919cf2b5223e2088d892d0d734
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