tests: clean up blackbox test around aliases a little bit
authorAugie Fackler <augie@google.com>
Mon, 11 Sep 2017 20:06:52 -0400
changeset 34304 7f02fb920121
parent 34303 3c9691728237
child 34305 25e1a8876cc0
tests: clean up blackbox test around aliases a little bit
tests/test-blackbox.t
--- a/tests/test-blackbox.t	Wed Sep 13 17:26:26 2017 +0000
+++ b/tests/test-blackbox.t	Mon Sep 11 20:06:52 2017 -0400
@@ -21,13 +21,9 @@
   1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000+ (5000)> blackbox
 
 alias expansion is logged
+  $ rm ./.hg/blackbox.log
   $ hg confuse
   $ hg blackbox
-  1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> init blackboxtest exited 0 after * seconds (glob)
-  1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> add a
-  1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> add a exited 0 after * seconds (glob)
-  1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000+ (5000)> blackbox
-  1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000+ (5000)> blackbox --config *blackbox.dirty=True* exited 0 after * seconds (glob)
   1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> confuse
   1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> alias 'confuse' expands to 'log --limit 3'
   1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> confuse exited 0 after * seconds (glob)