aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-06-23 13:30:38 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-06-24 16:23:35 +0300
commit92a13e2dfa4cfbf97eb841ef61aa982360cb3822 (patch)
tree6a6726c2253190961db876e60a02aa81f3a66a2a /tests
parenta0036370b2a7aaf4da229c27f9c9d66c0737fb79 (diff)
Add apache2 headers dir auto-detection and configurations for building with system packages
Diffstat (limited to 'tests')
-rw-r--r--tests/submit/submit-git.testscript6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/submit/submit-git.testscript b/tests/submit/submit-git.testscript
index ec87637..5197afc 100644
--- a/tests/submit/submit-git.testscript
+++ b/tests/submit/submit-git.testscript
@@ -21,7 +21,11 @@ clone_root_ref = [cmdline] cp --no-cleanup -r $root_ref ./ &ref.git/***
+mkdir --no-cleanup $root_ref
+$g -C $root_ref init --bare &ref.git/***
-+$g clone $root_ref $root_ref_dir &ref/***
+# Convert specific warnings to infos as we expect them to appear. This, in
+# particular, prevents bbot workers to set task result status to warning.
+#
++git clone $root_ref $root_ref_dir &ref/*** 2>&1 | \
+ sed -e 's/warning: (.*cloned an empty repository.*)/info: \1/' >&2 2>!
+cat <<EOI >=$root_ref_dir/submit.config.bash
sections[alpha]=1/alpha