From 273ef11c7259850cbba16895b5e32e1b3060a022 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 17 Jan 2017 12:23:54 +0000 Subject: test suite: gitattributes: Move setting of sums Fixes some of the working filenames. Signed-off-by: Ian Jackson --- tests/tests/gitattributes | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') 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 \ -- cgit v1.2.3