Patchwork [5,of,6,py3] test-check-py3-commands: cleanup tests related to `hg status`

login
register
mail settings
Submitter Pulkit Goyal
Date March 26, 2017, 3:46 p.m.
Message ID <d0daada30518fb8fb129.1490543204@pulkit-goyal>
Download mbox | patch
Permalink /patch/19692/
State Accepted
Headers show

Comments

Pulkit Goyal - March 26, 2017, 3:46 p.m.
# HG changeset patch
# User Pulkit Goyal <7895pulkit@gmail.com>
# Date 1490542825 -19800
#      Sun Mar 26 21:10:25 2017 +0530
# Node ID d0daada30518fb8fb12948c61e1eabb6494148cf
# Parent  ad78dfda4e5669df04ea6441740f60658c2668a7
test-check-py3-commands: cleanup tests related to `hg status`

We were testing hg status on Python 3 at two places in the test. Cleaned up
one of them.
Yuya Nishihara - March 27, 2017, 12:28 p.m.
On Sun, 26 Mar 2017 21:16:44 +0530, Pulkit Goyal wrote:
> # HG changeset patch
> # User Pulkit Goyal <7895pulkit@gmail.com>
> # Date 1490542825 -19800
> #      Sun Mar 26 21:10:25 2017 +0530
> # Node ID d0daada30518fb8fb12948c61e1eabb6494148cf
> # Parent  ad78dfda4e5669df04ea6441740f60658c2668a7
> test-check-py3-commands: cleanup tests related to `hg status`

Queued 1, 3, 4, and 5, thanks.

Patch

diff -r ad78dfda4e56 -r d0daada30518 tests/test-check-py3-commands.t
--- a/tests/test-check-py3-commands.t	Sun Mar 26 20:58:21 2017 +0530
+++ b/tests/test-check-py3-commands.t	Sun Mar 26 21:10:25 2017 +0530
@@ -68,17 +68,6 @@ 
   date:        Tue May 03 13:16:10 2005 -0800
   summary:     Add back links from file revisions to changeset revisions
   
-Test if `hg status` works:
-
-  $ mkdir a b a/1 b/1 b/2
-  $ touch in_root a/in_a b/in_b a/1/in_a_1 b/1/in_b_1 b/2/in_b_2
-  $ $PYTHON3 $HGBIN status
-  ? a/1/in_a_1
-  ? a/in_a
-  ? b/1/in_b_1
-  ? b/2/in_b_2
-  ? b/in_b
-  ? in_root
 
   $ cd ..
 #endif
@@ -121,6 +110,7 @@ 
   no problems detected
 
 `hg init` can create empty repos
+`hg status works fine`
 
   $ $PYTHON3 `which hg` init py3repo
   $ cd py3repo