From 5858d3561071f6c1dcff62f9ee101215d5bb7187 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 3 Aug 2017 20:34:11 +0100 Subject: test suite: sbuild-gitish: Insist on using "build" chroot In "test suite: sbuild-gitish: Find sbuild rune in the manpage" aka f5c0d33ede8a we accidentally switched from "build" to "jessie". Randomly messing about with the user's "jessie" chroot is not very nice. (And it would break in a hypothetical formal test providing the x-dgit-schroot-build capability.) Signed-off-by: Ian Jackson --- tests/tests/sbuild-gitish | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/tests/sbuild-gitish b/tests/tests/sbuild-gitish index c0ca927..7156d0e 100755 --- a/tests/tests/sbuild-gitish +++ b/tests/tests/sbuild-gitish @@ -21,7 +21,9 @@ buildrune=$( next unless m/^ +\%/ .. 0; next if !m/\S/ .. 0; s/^ +\%//; + $fixchr += s/(\s-c\s*)jessie(\s|$)/$1build$2/; print or die $!; + END { $fixchr == 1 or die $fixchr; } ' ) -- cgit v1.2.3