test-run-tests.t: test running a passing test
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 30 May 2014 12:10:19 -0700
changeset 21734 34e0bd895afc
parent 21733 9ad11d5bcc2f
child 21735 5ee547fdb0be
test-run-tests.t: test running a passing test
tests/test-run-tests.t
--- a/tests/test-run-tests.t	Tue Jun 10 14:32:52 2014 -0700
+++ b/tests/test-run-tests.t	Fri May 30 12:10:19 2014 -0700
@@ -6,3 +6,15 @@
   $ $TESTDIR/run-tests.py
   
   # Ran 0 tests, 0 skipped, 0 warned, 0 failed.
+
+a succesful test
+=======================
+
+  $ cat > test-success.t << EOF
+  >   $ echo babar
+  >   babar
+  > EOF
+
+  $ $TESTDIR/run-tests.py --with-hg=`which hg`
+  .
+  # Ran 1 tests, 0 skipped, 0 warned, 0 failed.