Skip to content

Commit aa0cfa5

Browse files
committed
fixup! bugfix checksum not constant when using git_config (#2726)
1 parent 22f2187 commit aa0cfa5

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

test/framework/filetools.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1749,7 +1749,9 @@ def run_check():
17491749
expected = '\n'.join([
17501750
' running command "git clone --branch master git@github.com:hpcugent/testrepository.git"',
17511751
" \(in .*/tmp.*\)",
1752-
' running command "tar cfvz .*/target/test.tar.gz --exclude .git testrepository"',
1752+
' running command "tar cfv .*/target/test.tar --exclude .git testrepository"',
1753+
" \(in .*/tmp.*\)",
1754+
' running command "gzip -nf .*/target/test.tar"',
17531755
" \(in .*/tmp.*\)",
17541756
])
17551757
run_check()
@@ -1758,7 +1760,9 @@ def run_check():
17581760
expected = '\n'.join([
17591761
' running command "git clone --branch master --recursive git@github.com:hpcugent/testrepository.git"',
17601762
" \(in .*/tmp.*\)",
1761-
' running command "tar cfvz .*/target/test.tar.gz --exclude .git testrepository"',
1763+
' running command "tar cfv .*/target/test.tar --exclude .git testrepository"',
1764+
" \(in .*/tmp.*\)",
1765+
' running command "gzip -nf .*/target/test.tar"',
17621766
" \(in .*/tmp.*\)",
17631767
])
17641768
run_check()
@@ -1770,7 +1774,9 @@ def run_check():
17701774
" \(in .*/tmp.*\)",
17711775
' running command "git checkout 8456f86 && git submodule update"',
17721776
" \(in testrepository\)",
1773-
' running command "tar cfvz .*/target/test.tar.gz --exclude .git testrepository"',
1777+
' running command "tar cfv .*/target/test.tar --exclude .git testrepository"',
1778+
" \(in .*/tmp.*\)",
1779+
' running command "gzip -nf .*/target/test.tar"',
17741780
" \(in .*/tmp.*\)",
17751781
])
17761782
run_check()
@@ -1781,7 +1787,9 @@ def run_check():
17811787
" \(in .*/tmp.*\)",
17821788
' running command "git checkout 8456f86"',
17831789
" \(in testrepository\)",
1784-
' running command "tar cfvz .*/target/test.tar.gz --exclude .git testrepository"',
1790+
' running command "tar cfv .*/target/test.tar --exclude .git testrepository"',
1791+
" \(in .*/tmp.*\)",
1792+
' running command "gzip -nf .*/target/test.tar"',
17851793
" \(in .*/tmp.*\)",
17861794
])
17871795
run_check()

0 commit comments

Comments
 (0)