docs: handle `git describe` failing
[guilt.git] / regression / t-029.sh
blobcf190268275aa2487b899cefc955528ccc7d0c93
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 | shouldfail guilt-repair --full
26 cmd list_files
28 yes y | cmd guilt-repair --full
30 cmd list_files
32 cmd guilt-push -a
34 cmd list_files
36 yes Y | cmd guilt-repair --full
38 cmd list_files