summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-17 12:23:54 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-17 12:23:54 +0000
commit273ef11c7259850cbba16895b5e32e1b3060a022 (patch)
treea48015b9bbc94c4399f1ef25ab3576acec58fdc6
parente48845631c7506536bd1ff9c343b49c7cd670e5a (diff)
test suite: gitattributes: Move setting of sums
Fixes some of the working filenames. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-xtests/tests/gitattributes3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/tests/gitattributes b/tests/tests/gitattributes
index 286395d..62fdef2 100755
--- a/tests/tests/gitattributes
+++ b/tests/tests/gitattributes
@@ -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 \