summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/main1
-rw-r--r--test/prereqs3
-rw-r--r--test/setup1
3 files changed, 5 insertions, 0 deletions
diff --git a/test/main b/test/main
index 4fde753..51981ab 100755
--- a/test/main
+++ b/test/main
@@ -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 ]]
diff --git a/test/setup b/test/setup
index e2cff79..e86739b 100644
--- a/test/setup
+++ b/test/setup
@@ -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 ..