repo.or.cz
/
guilt.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
series: Added -g option to start gitk
[guilt.git]
/
regression
/
023-top.sh
blob
c48644891d28befe515c41455b580330e31b55c5
1
#!/bin/bash
2
#
3
# Test the top code
4
#
5
6
source
scaffold
7
source
generic_test_data
8
9
# the test itself
10
empty_repo
11
cd
$REPODIR
12
guilt-init
13
14
generic_prepare_for_tests
15
16
# NOTE: this has to be in the same order as the series file
17
tests
=
"modify add remove mode"
18
19
for
t
in
$tests
20
do
21
guilt-push
> /
dev
/
null
22
23
[
"`guilt-top`"
=
"
$t
"
]
24
25
echo -n
"[
$t
] "
26
done
27
28
complete_test
29