diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-08-03 20:34:11 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-08-03 20:34:13 +0100 |
commit | 5858d3561071f6c1dcff62f9ee101215d5bb7187 (patch) | |
tree | 17601e237d3b7396772caa5a351a96946e6e2fd6 | |
parent | 33b3c4012778bbc2a94f9a66f4b17bfe29e5fa00 (diff) |
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 <ijackson@chiark.greenend.org.uk>
-rwxr-xr-x | tests/tests/sbuild-gitish | 2 |
1 files changed, 2 insertions, 0 deletions
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; } ' ) |