diff --git a/tests/test-remotefilelog-hgweb.t b/tests/test-remotefilelog-hgweb.t new file mode 100644 --- /dev/null +++ b/tests/test-remotefilelog-hgweb.t @@ -0,0 +1,32 @@ +#require no-windows serve + + $ . "$TESTDIR/remotefilelog-library.sh" + + $ cat >> $HGRCPATH < [extensions] + > remotefilelog= + > share= + > EOF + + $ hg init master + $ cd master + $ cat >> .hg/hgrc < [remotefilelog] + > server=True + > EOF + $ echo x > x + $ hg commit -qAm x + + $ cd .. + + + $ hgcloneshallow ssh://user@dummy/master wdir --noupdate -q + $ cd wdir + $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log + $ cat hg.pid >> $DAEMON_PIDS + $ (get-with-headers.py localhost:$HGPORT 'file/tip/x') + 500 Internal Server Error + + Internal Server Error (no-eol) + [1] +