diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-05-01 15:40:32 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-05-01 15:40:32 +0200 |
commit | 5308e0c916784dd89a517b293f2d4f4c437b545a (patch) | |
tree | ed3eacbe60fd38f79d1376e41575e07cf733c30b /test | |
parent | 04432892639a2e7bc0716b49072cf62e26c2a638 (diff) |
Added short test to check if prereqs are sourced
Diffstat (limited to 'test')
-rwxr-xr-x | test/main | 1 | ||||
-rw-r--r-- | test/prereqs | 3 | ||||
-rw-r--r-- | test/setup | 1 |
3 files changed, 5 insertions, 0 deletions
@@ -68,6 +68,7 @@ for conf_origin in 0 1; { complement=${repo}-bare } source $tests/add + source $tests/prereqs cd $test_pdir/$repo source $tests/push cd $test_pdir diff --git a/test/prereqs b/test/prereqs new file mode 100644 index 0000000..7286619 --- /dev/null +++ b/test/prereqs @@ -0,0 +1,3 @@ +## vim:ft=zsh +echo "# prereqs" +[[ -f ~/prereq_ok_$file ]] @@ -14,6 +14,7 @@ for repo in ra rb rc; ( mkdir -p man/2 echo "=head1 WASTED SPACE\n\nhuhu" > man/2/$repo chmod 755 bin/$repo + echo 'touch ~/prereq_ok_'$repo > prereqs git add . git commit -m 'initial commit' cd .. |