summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-09-05 22:41:52 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2016-09-15 19:42:05 +0100
commitc1701e7d575aec2dc420b0f54bf648e6d3fb1938 (patch)
treef1f60d1adf147a25613f371a6faa47b08e7d6773 /tests
parent2df7a3b364dd5cade1244c4ed48750c4ad50f172 (diff)
Test suite: lib-build-modes: Remove a couple of hardcoded versions
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib-build-modes4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib-build-modes b/tests/lib-build-modes
index 639f9b5..007eaf2 100644
--- a/tests/lib-build-modes
+++ b/tests/lib-build-modes
@@ -65,7 +65,7 @@ bm-quirk-sbuild-after-act () {
# provide sbuild with the dsc, not the tree, so we simply
# ignore all executions of the clean target by schroot.
local arch=$(dpkg-architecture -qDEB_BUILD_ARCH)
- local sblog=../example_1.0_$arch.build
+ local sblog=../example_${v}_$arch.build
if [ -e $sblog ]; then
sed '
s/^EXAMPLE RULES TARGET clean/HOOK SUPPRESSED &/;
@@ -141,7 +141,7 @@ bm-run-one () {
git checkout $branch
git clean -xdf # since we might not do any actual cleaning
- dsc='../example_1.0.dsc'
+ dsc="../example_$v.dsc"
rm -f $dsc
set +o pipefail