Guilt v0.35
[guilt.git] / regression / t-010.sh
blob1fc88fa7ff684f8a41ab5511e4412b9d502bee7d
1 #!/bin/bash
3 # Test the init code
6 source $REG_DIR/scaffold
8 function opts
10 cat << DONE
14 DONE
17 cmd setup_git_repo
19 opts | while read opt ; do
20 cmd reset_git_repo
22 cmd guilt init $opt
23 cmd list_files
24 shouldfail guilt init $opt
25 cmd list_files
26 done
28 cmd git branch other
29 cmd git checkout other
31 cmd guilt init
32 cmd list_files
33 shouldfail guilt init
34 cmd list_files