changeset 31524:935a1b1117c7

py3: prove hg status works
author Rishabh Madan <rishabhmadan96@gmail.com>
date Tue, 21 Mar 2017 07:22:13 +0530
parents f42ec07db6a9
children 8633d3e21443
files tests/test-check-py3-commands.t
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-check-py3-commands.t	Mon Mar 20 22:06:57 2017 -0400
+++ b/tests/test-check-py3-commands.t	Tue Mar 21 07:22:13 2017 +0530
@@ -68,6 +68,17 @@
   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