diff tests/test-requires.t @ 12116:f51858009328

tests: unify test-requires
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Mon, 30 Aug 2010 14:04:38 +0900
parents tests/test-requires@8f18e31c4441
children 4c94b6d0fb1c
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-requires.t	Mon Aug 30 14:04:38 2010 +0900
@@ -0,0 +1,14 @@
+  $ mkdir t
+  $ cd t
+  $ hg init
+  $ echo a > a
+  $ hg add a
+  $ hg commit -m test -d "1000000 0"
+  $ rm .hg/requires
+  $ hg tip
+  abort: index 00changelog.i unknown format 2!
+  $ echo indoor-pool > .hg/requires
+  $ hg tip
+  abort: requirement 'indoor-pool' not supported!
+
+  $ true