chiark / gitweb /
test suite: Add t-buildproductsdir-config to some sbuild tests
[dgit.git] / tests / tests / sbuild-gitish
index 6e497b2d47e3ade1218e8bbe65f1cd69d9c92916..7c0a30c4a6892756641376652168e9eb8b2669f0 100755 (executable)
@@ -6,6 +6,7 @@ t-dependencies sbuild man-db
 t-restrict x-dgit-schroot-build
 
 t-tstunt-parsechangelog
+t-buildproductsdir-config
 
 t-prep-newpackage example 1.1
 
@@ -16,7 +17,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; }
        '