Patchwork [1,of,2] tests: clean up blackbox test around aliases a little bit

login
register
mail settings
Submitter Augie Fackler
Date Sept. 21, 2017, 2:25 p.m.
Message ID <0878fba873527c814b1a.1506003953@augie-macbookpro2.roam.corp.google.com>
Download mbox | patch
Permalink /patch/24082/
State Accepted
Headers show

Comments

Augie Fackler - Sept. 21, 2017, 2:25 p.m.
# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1505174812 14400
#      Mon Sep 11 20:06:52 2017 -0400
# Node ID 0878fba873527c814b1ad15d43e89adf62c11d37
# Parent  4f969b9e0cf5d4f2cfb7392cef7f43b74d17c5e4
tests: clean up blackbox test around aliases a little bit
Yuya Nishihara - Sept. 22, 2017, 12:28 p.m.
On Thu, 21 Sep 2017 10:25:53 -0400, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <augie@google.com>
> # Date 1505174812 14400
> #      Mon Sep 11 20:06:52 2017 -0400
> # Node ID 0878fba873527c814b1ad15d43e89adf62c11d37
> # Parent  4f969b9e0cf5d4f2cfb7392cef7f43b74d17c5e4
> tests: clean up blackbox test around aliases a little bit

Queued, thanks.

Patch

diff --git a/tests/test-blackbox.t b/tests/test-blackbox.t
--- a/tests/test-blackbox.t
+++ b/tests/test-blackbox.t
@@ -21,13 +21,9 @@  command, exit codes, and duration
   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)