X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Flib-build-modes;h=007eaf226b222c70815eae81c6bac558617a9f03;hp=639f9b504064ec8a7743617031b0e316b8e8afa3;hb=d9b4c302c1e04e9047b920b2bc40896479fdacb5;hpb=365c05e1ecc2bdf4dcf96d7c726f68aaf40888f2 diff --git a/tests/lib-build-modes b/tests/lib-build-modes index 639f9b50..007eaf22 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