summaryrefslogtreecommitdiff
path: root/tests/tests/sbuild-gitish
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-07-26 05:00:51 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-07-26 05:28:03 +0100
commitf0b46b0422f6ce3bb7c360ee3717eef95d621526 (patch)
tree910472bbf8ce164f4ca8c07b88da2b18f82d03e6 /tests/tests/sbuild-gitish
parent599ee8fbfde3786781d36944caac72353aee99e3 (diff)
test suite: Honour DGIT_SCHROOT_CHROOT to set the schroot to use for the sbuild tests.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tests/sbuild-gitish')
-rwxr-xr-xtests/tests/sbuild-gitish2
1 files changed, 1 insertions, 1 deletions
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; }
'