wrapper for os-independent seq command
[guilt.git] / regression / t-030.sh
blobf659756e5551e1279984e524be566a491f2ae123
1 #!/bin/bash
3 # Test the commit code
6 source $REG_DIR/scaffold
8 cmd setup_repo
10 function opts_to_try
12 cat << DONE
13 -n 0
14 -n 1
16 --all
17 DONE
20 shouldfail guilt-commit
22 cmd list_files
24 opts_to_try | while read opt; do
25 cmd guilt-commit $opt
27 cmd list_files
28 done
31 cmd guilt-push -a
33 shouldfail guilt-commit
35 cmd list_files
37 opts_to_try | while read opt; do
38 cmd guilt-commit $opt
40 cmd list_files
41 done
43 echo > /dev/null