From 92a13e2dfa4cfbf97eb841ef61aa982360cb3822 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 23 Jun 2023 13:30:38 +0300 Subject: Add apache2 headers dir auto-detection and configurations for building with system packages --- tests/submit/submit-git.testscript | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests') 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 <=$root_ref_dir/submit.config.bash sections[alpha]=1/alpha -- cgit v1.1