--- a/tests/test-rhg.t Mon Feb 08 23:08:44 2021 +0100
+++ b/tests/test-rhg.t Mon Feb 08 23:41:58 2021 +0100
@@ -30,6 +30,18 @@
$ rhg root
$TESTTMP/repository
+Reading and setting configuration
+ $ echo "[ui]" >> $HGRCPATH
+ $ echo "username = user1" >> $HGRCPATH
+ $ rhg config ui.username
+ user1
+ $ echo "[ui]" >> .hg/hgrc
+ $ echo "username = user2" >> .hg/hgrc
+ $ rhg config ui.username
+ user2
+ $ rhg --config ui.username=user3 config ui.username
+ user3
+
Unwritable file descriptor
$ rhg root > /dev/full
abort: No space left on device (os error 28)