# HG changeset patch # User Anton Shestakov # Date 1594353180 -28800 # Node ID 2c16855aa3fe41cd88521eecba3c284af5b7a1b8 # Parent ad9b2d68a8eeceb0b84d9645a423402cb311c902 tests: use debugpushkey instead of curl with listkeys query diff -r ad9b2d68a8ee -r 2c16855aa3fe tests/test-evolve-serveronly-bundle2.t --- a/tests/test-evolve-serveronly-bundle2.t Mon Jun 22 09:39:39 2020 +0530 +++ b/tests/test-evolve-serveronly-bundle2.t Fri Jul 10 11:53:00 2020 +0800 @@ -90,7 +90,7 @@ $ curl -s http://localhost:$HGPORT/?cmd=capabilities _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch * (no-eol) (glob) - $ curl -s "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort + $ hg debugpushkey http://localhost:$HGPORT namespaces bookmarks namespaces obsolete @@ -145,7 +145,7 @@ =========================================== (used by bitbucket to select which repo use evolve) - $ curl -s "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort + $ hg debugpushkey http://localhost:$HGPORT namespaces bookmarks namespaces obsolete @@ -161,7 +161,7 @@ $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log $ cat hg.pid >> $DAEMON_PIDS - $ curl -s "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort + $ hg debugpushkey http://localhost:$HGPORT namespaces bookmarks namespaces phases @@ -171,7 +171,7 @@ $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log $ cat hg.pid >> $DAEMON_PIDS - $ curl -s "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort + $ hg debugpushkey http://localhost:$HGPORT namespaces bookmarks namespaces obsolete