diff options
Diffstat (limited to 'tests/test-share.t')
-rw-r--r-- | tests/test-share.t | 34 |
1 files changed, 2 insertions, 32 deletions
diff --git a/tests/test-share.t b/tests/test-share.t index 0eb755f..ba20b02 100644 --- a/tests/test-share.t +++ b/tests/test-share.t @@ -1,4 +1,3 @@ - $ "$TESTDIR/hghave" serve || exit 80 $ echo "[extensions]" >> $HGRCPATH $ echo "share = " >> $HGRCPATH @@ -27,16 +26,7 @@ share shouldn't have a store dir Some sed versions appends newline, some don't, and some just fails $ cat .hg/sharedpath; echo - $TESTTMP/repo1/.hg (glob) - -trailing newline on .hg/sharedpath is ok - $ hg tip -q - 0:d3873e73d99e - $ echo '' >> .hg/sharedpath - $ cat .hg/sharedpath - $TESTTMP/repo1/.hg (glob) - $ hg tip -q - 0:d3873e73d99e + $TESTTMP/repo1/.hg commit in shared clone @@ -99,7 +89,7 @@ hg serve shared clone $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid $ cat hg.pid >> $DAEMON_PIDS - $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'raw-file/' + $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/raw-file/' 200 Script output follows @@ -107,23 +97,3 @@ hg serve shared clone -rw-r--r-- 2 b - -test unshare command - - $ hg unshare - $ test -d .hg/store - $ test -f .hg/sharedpath - [1] - $ hg unshare - abort: this is not a shared repo - [255] - -check that a change does not propagate - - $ echo b >> b - $ hg commit -m'change in unshared' - $ cd ../repo1 - $ hg id -r tip - c2e0ac586386 tip - - $ cd .. |