tests/test-ui-verbosity
changeset 8136 6b5522cb2ad2
parent 5523 5db730475d6d
--- a/tests/test-ui-verbosity	Thu Apr 23 15:40:10 2009 -0500
+++ b/tests/test-ui-verbosity	Thu Apr 23 15:40:10 2009 -0500
@@ -31,7 +31,10 @@
     f.close()
 
     u = ui.ui()
-    u.updateopts(quiet=cmd_quiet, verbose=cmd_verbose, debug=cmd_debug)
+    if cmd_quiet or cmd_debug or cmd_verbose:
+        u.setconfig('ui', 'quiet', str(bool(cmd_quiet)))
+        u.setconfig('ui', 'verbose', str(bool(cmd_verbose)))
+        u.setconfig('ui', 'debug', str(bool(cmd_debug)))
 
     check = ''
     if u.debugflag: