Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hg-windows-ci
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
hg-windows-ci
Commits
3bece03b
Commit
3bece03b
authored
13 years ago
by
Matt Mackall
Browse files
Options
Downloads
Patches
Plain Diff
tests: use md5sum.py instead of sha1sum, add check
parent
eb6c0d47
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/check-code.py
+1
-0
1 addition, 0 deletions
contrib/check-code.py
tests/test-lfconvert.t
+7
-7
7 additions, 7 deletions
tests/test-lfconvert.t
with
8 additions
and
7 deletions
contrib/check-code.py
+
1
−
0
View file @
3bece03b
...
...
@@ -52,6 +52,7 @@
(
r
'
^diff.*-\w*N
'
,
"
don
'
t use
'
diff -N
'"
),
(
r
'
(^| )wc[^|]*$\n(?!.*\(re\))
'
,
"
filter wc output
"
),
(
r
'
head -c
'
,
"
don
'
t use
'
head -c
'
, use
'
dd
'"
),
(
r
'
sha1sum
'
,
"
don
'
t use sha1sum, use $TESTDIR/md5sum.py
"
),
(
r
'
ls.*-\w*R
'
,
"
don
'
t use
'
ls -R
'
, use
'
find
'"
),
(
r
'
printf.*\\\d\d\d
'
,
"
don
'
t use
'
printf \NNN
'
, use Python
"
),
(
r
'
printf.*\\x
'
,
"
don
'
t use printf
\\
x, use Python
"
),
...
...
This diff is collapsed.
Click to expand it.
tests/test-lfconvert.t
+
7
−
7
View file @
3bece03b
...
...
@@ -48,9 +48,9 @@
normal
$
cat
sub
/
normal2
alsonormal
$
sha1sum
large
sub
/
maybelarge
.
dat
2
e000fa7e85759c7f4c254d4d9c33ef481e459a7
large
34
e163be8e43c5631d8b92e9c43ab0bf0fa62b9c
sub
/
maybelarge
.
dat
$
"$
TESTDIR
/
md5sum
.
py
"
large
sub
/
maybelarge
.
dat
ec87a838931d4d5d2e94a04644788a55
large
1276481102
f218c981e0324180bafd9f
sub
/
maybelarge
.
dat
"
lfconvert
"
adds
'
largefiles
'
to
.
hg
/
requires
.
$
cat
.
hg
/
requires
...
...
@@ -74,8 +74,8 @@
$
echo
blah
>>
normal3
$
echo
blah
>>
sub
/
normal2
$
echo
blah
>>
sub
/
maybelarge
.
dat
$
sha1sum
sub
/
maybelarge
.
dat
76236
b6a2c6102826c61a
f4
2
97
dd738fb3b1de38
sub
/
maybelarge
.
dat
$
"$
TESTDIR
/
md5sum
.
py
"
sub
/
maybelarge
.
dat
1
dd0b99ff80e19cf
f4
0
97
02a1d3f5e15
sub
/
maybelarge
.
dat
$
hg
commit
-
A
-
m
"
add
normal3
,
modify
sub
/*"
adding
normal3
created
new
head
...
...
@@ -151,8 +151,8 @@
$ cat stuff/normal2
alsonormal
blah
$
sha1sum
stuff/maybelarge.dat
76236b6a2c6102826c61a
f4
2
97
dd738fb3b1de38
stuff/maybelarge.dat
$
"
$TESTDIR
/md5sum.py"
stuff/ma
ybelarge
.
dat
1
dd0b99ff80e19cf
f4
0
97
02a1d3f5e15
stuff
/
maybelarge
.
dat
$
cat
.
hglf
/stuff/ma
ybelarge
.
dat
76236
b6a2c6102826c61af4297dd738fb3b1de38
$
cd
..
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment