chiark / gitweb /
test suite: gitattributes: Move setting of sums
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 17 Jan 2017 12:23:54 +0000 (12:23 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 17 Jan 2017 12:23:54 +0000 (12:23 +0000)
Fixes some of the working filenames.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/tests/gitattributes

index 286395d..62fdef2 100755 (executable)
@@ -109,6 +109,7 @@ sfmt_import () {
        refname="import.$sfmt-$inst"
        brkerr=stderr.$sfmt-$inst.broken
        dscf=${p}_${v}.dsc
+       sums=sums.$sfmt-$inst
 
        mkdir $pdb-import-$inst
        cd $pdb-import-$inst
@@ -136,8 +137,6 @@ sfmt_import () {
        t-dgit $dgitargs import-dsc ../$dscf +$refname
        git checkout $refname
 
-       sums=sums.$sfmt-$inst
-
        for f in af/*; do
                git cat-file blob "refs/heads/$refname:$f" \
                        | sha256sum \