Add support for SunOS
[guilt/mob.git] / regression / t-010.sh
blob6c152619c02fd7aca096f3cf4c801ef0b564bccf
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