# HG changeset patch # User Anton Shestakov # Date 1467351419 -28800 # Node ID 81e0955ca2fd149ad0cc646f18c53f90da578d3f # Parent e61d384e3be4cf18e753ea3fc95658a69dbbfd82 tests: allow bz2 archives in test-hgweb-json.t Only testing a specific type because list items seem to be in arbitrary order. diff -r e61d384e3be4 -r 81e0955ca2fd tests/test-hgweb-json.t --- a/tests/test-hgweb-json.t Fri Jul 01 19:17:16 2016 +0530 +++ b/tests/test-hgweb-json.t Fri Jul 01 13:36:59 2016 +0800 @@ -100,6 +100,8 @@ summary: initial + $ echo '[web]' >> .hg/hgrc + $ echo 'allow_archive = bz2' >> .hg/hgrc $ hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E error.log $ cat hg.pid >> $DAEMON_PIDS @@ -800,7 +802,13 @@ 200 Script output follows { - "archives": [], + "archives": [ + { + "extension": ".tar.bz2", + "node": "tip", + "type": "bz2" + } + ], "bookmarks": [ { "bookmark": "bookmark2",