Show More
@@ -0,0 +1,42 b'' | |||
|
1 | #require test-repo slow osx bdistmpkg | |
|
2 | $ OUTPUTDIR=`pwd` | |
|
3 | $ export OUTPUTDIR | |
|
4 | $ KEEPMPKG=yes | |
|
5 | $ export KEEPMPKG | |
|
6 | ||
|
7 | $ cd "$TESTDIR"/.. | |
|
8 | $ make osx > $OUTPUTDIR/build.log 2>&1 | |
|
9 | $ cd $OUTPUTDIR | |
|
10 | $ ls -d *.dmg *.mpkg | |
|
11 | mercurial-*-macosx10.*.dmg (glob) | |
|
12 | mercurial-*-macosx10.*.mpkg (glob) | |
|
13 | ||
|
14 | Gather list of all installed files: | |
|
15 | $ find *.mpkg -name Archive.bom | xargs lsbom > boms.txt | |
|
16 | ||
|
17 | TODO: update to -f 1,2,3 when we're confident the installed owner of | |
|
18 | our files is corect. Right now it looks like it's the id of the user | |
|
19 | that builds the mpkg, which is probably slightly wrong. | |
|
20 | ||
|
21 | Spot-check some randomly selected files: | |
|
22 | $ grep bdiff boms.txt | cut -d ' ' -f 1,2 | |
|
23 | ./mercurial/bdiff.so 100775 | |
|
24 | ./mercurial/pure/bdiff.py 100664 | |
|
25 | ./mercurial/pure/bdiff.pyc 100664 | |
|
26 | ./mercurial/pure/bdiff.pyo 100664 | |
|
27 | TODO: man pages don't get installed | |
|
28 | $ egrep 'man[15]' boms.txt | cut -d ' ' -f 1,2 | |
|
29 | $ grep bser boms.txt | cut -d ' ' -f 1,2 | |
|
30 | ./hgext/fsmonitor/pywatchman/bser.so 100775 | |
|
31 | ./hgext/fsmonitor/pywatchman/pybser.py 100664 | |
|
32 | ./hgext/fsmonitor/pywatchman/pybser.pyc 100664 | |
|
33 | ./hgext/fsmonitor/pywatchman/pybser.pyo 100664 | |
|
34 | $ grep localrepo boms.txt | cut -d ' ' -f 1,2 | |
|
35 | ./mercurial/localrepo.py 100664 | |
|
36 | ./mercurial/localrepo.pyc 100664 | |
|
37 | ./mercurial/localrepo.pyo 100664 | |
|
38 | $ grep '/hg ' boms.txt | cut -d ' ' -f 1,2 | |
|
39 | ./hg 100775 | |
|
40 | ||
|
41 | Note that we're not currently installing any /etc/mercurial stuff, | |
|
42 | including merge-tool configurations. |
General Comments 0
You need to be logged in to leave comments.
Login now