[PATCH] Add "Date" field while creating patches from commits
[guilt.git] / regression / t-029.sh
blob6c9c0992a095283a52c009d668418d13b69d2825
1 #!/bin/bash
3 # Test the repair code
6 # FIXME: test status file format upgrade code
8 source "$REG_DIR/scaffold"
10 cmd setup_repo
12 cmd guilt push -a
14 cmd list_files
16 shouldfail guilt repair
18 cmd list_files
20 echo | shouldfail guilt repair --full
22 cmd list_files
24 yes n 2>/dev/null | shouldfail guilt repair --full
26 cmd list_files
28 yes y 2>/dev/null | cmd guilt repair --full
30 cmd list_files
32 cmd guilt push -a
34 cmd list_files
36 yes Y 2>/dev/null | cmd guilt repair --full
38 cmd list_files