equal
deleted
inserted
replaced
31 1 files fetched over 1 fetches - (1 misses, 0.00% hit ratio) over *s (glob) |
31 1 files fetched over 1 fetches - (1 misses, 0.00% hit ratio) over *s (glob) |
32 $ cd .. |
32 $ cd .. |
33 |
33 |
34 $ chmod -R u+w master/.hg/remotefilelogcache |
34 $ chmod -R u+w master/.hg/remotefilelogcache |
35 |
35 |
|
36 #if suidbit |
|
37 |
36 # Test setting up shared cache with the right permissions |
38 # Test setting up shared cache with the right permissions |
37 # (this is hard to test in a cross platform way, so we just make sure nothing |
39 # (this is hard to test in a cross platform way, so we just make sure nothing |
38 # crashes) |
40 # crashes) |
39 |
41 |
40 $ rm -rf $CACHEDIR |
42 $ rm -rf $CACHEDIR |
42 $ mkdir $CACHEDIR |
44 $ mkdir $CACHEDIR |
43 $ hg -q clone --shallow ssh://user@dummy/master shallow2 --config remotefilelog.cachegroup="`id -g -n`" |
45 $ hg -q clone --shallow ssh://user@dummy/master shallow2 --config remotefilelog.cachegroup="`id -g -n`" |
44 1 files fetched over 1 fetches - (1 misses, 0.00% hit ratio) over * (glob) |
46 1 files fetched over 1 fetches - (1 misses, 0.00% hit ratio) over * (glob) |
45 $ ls -ld $CACHEDIR/11 |
47 $ ls -ld $CACHEDIR/11 |
46 drwxrws* $TESTTMP/hgcache/11 (glob) |
48 drwxrws* $TESTTMP/hgcache/11 (glob) |
|
49 |
|
50 #endif |