Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mercurial-devel
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Admin message
This instance will be upgraded to Heptapod 17.9.0rc1 on 2025-03-27 between 17:00 and 18:00 UTC+2
Show more breadcrumbs
mercurial
mercurial-devel
Commits
f2549b0ba9ab
Commit
f2549b0ba9ab
authored
8 years ago
by
Augie Fackler
Browse files
Options
Downloads
Patches
Plain Diff
tests: add test for Mac OS X package construction
parent
fe364d8797c3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test-mac-packages.t
+42
-0
42 additions, 0 deletions
tests/test-mac-packages.t
with
42 additions
and
0 deletions
tests/test-mac-packages.t
0 → 100644
+
42
−
0
View file @
f2549b0b
#require test-repo slow osx bdistmpkg
$
OUTPUTDIR
=
`
pwd
`
$
export
OUTPUTDIR
$
KEEPMPKG
=
yes
$
export
KEEPMPKG
$
cd
"
$TESTDIR
"
/..
$
make
osx
>
$OUTPUTDIR
/
build
.
log
2
>&
1
$
cd
$OUTPUTDIR
$
ls
-
d
*.
dmg
*.
mpkg
mercurial
-*-
macosx10
.*.
dmg
(
glob
)
mercurial
-*-
macosx10
.*.
mpkg
(
glob
)
Gather
list
of
all
installed
files:
$
find
*.
mpkg
-
name
Archive
.
bom
|
xargs
lsbom
>
boms
.
txt
TODO:
update
to
-
f
1
,
2
,
3
when
we
'
re confident the installed owner of
our files is corect. Right now it looks like it
'
s the id of the user
t
hat
builds
the
mpkg
,
which
is
probably
slightly
wrong
.
Spot
-
check
some
randomly
selected
files:
$
grep
bdiff
boms
.
txt
|
cut
-
d
'
'
-
f
1
,
2
.
/mercurial/
bdiff
.
so
100775
.
/mercurial/pu
re
/
bdiff
.
py
100664
.
/mercurial/pu
re
/
bdiff
.
pyc
100664
.
/mercurial/pu
re
/
bdiff
.
pyo
100664
TODO:
man
pages
don
'
t get installed
$ egrep
'
man
[
15
]'
boms.txt | cut -d
'
'
-f 1,2
$ grep bser boms.txt | cut -d
'
'
-f 1,2
./hgext/fsmonitor/pywatchman/bser.so 100775
./hgext/fsmonitor/pywatchman/pybser.py 100664
./hgext/fsmonitor/pywatchman/pybser.pyc 100664
./hgext/fsmonitor/pywatchman/pybser.pyo 100664
$ grep localrepo boms.txt | cut -d
'
'
-f 1,2
./mercurial/localrepo.py 100664
./mercurial/localrepo.pyc 100664
./mercurial/localrepo.pyo 100664
$ grep
'
/
hg
'
boms.txt | cut -d
'
'
-f 1,2
./hg 100775
Note that we
'
re
not
currently
installing
any
/etc/m
ercurial
stuff
,
including
merge
-
tool
configurations
.
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