From f0b46b0422f6ce3bb7c360ee3717eef95d621526 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 26 Jul 2018 05:00:51 +0100 Subject: test suite: Honour DGIT_SCHROOT_CHROOT to set the schroot to use for the sbuild tests. Signed-off-by: Ian Jackson --- tests/tests/sbuild-gitish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/tests/sbuild-gitish') diff --git a/tests/tests/sbuild-gitish b/tests/tests/sbuild-gitish index 6e497b2..da90b6f 100755 --- a/tests/tests/sbuild-gitish +++ b/tests/tests/sbuild-gitish @@ -16,7 +16,7 @@ buildrune=$( next unless m/^ +\%/ .. 0; next if !m/\S/ .. 0; s/^ +\%//; - $fixchr += s/(\s-c\s*)jessie(\s|$)/$1build$2/; + $fixchr += s/(\s-c\s*)jessie(\s|$)/$1'"$schroot"'$2/; print or die $!; END { $fixchr == 1 or die $fixchr; } ' -- cgit v1.2.3