series: Added -g option to start gitk
[guilt.git] / regression / 023-top.sh
blobc48644891d28befe515c41455b580330e31b55c5
1 #!/bin/bash
3 # Test the top code
6 source scaffold
7 source generic_test_data
9 # the test itself
10 empty_repo
11 cd $REPODIR
12 guilt-init
14 generic_prepare_for_tests
16 # NOTE: this has to be in the same order as the series file
17 tests="modify add remove mode"
19 for t in $tests
21 guilt-push > /dev/null
23 [ "`guilt-top`" = "$t" ]
25 echo -n "[$t] "
26 done
28 complete_test