Mercurial > hg-stable
changeset 12116:f51858009328
tests: unify test-requires
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Mon, 30 Aug 2010 14:04:38 +0900 |
parents | a0dcbcbd1590 |
children | a40372c1c731 |
files | tests/test-bisect.t tests/test-churn.t tests/test-inherit-mode.t tests/test-relink.t tests/test-remove-new.t tests/test-remove.t tests/test-rename-dir-merge.t tests/test-rename.t tests/test-requires tests/test-requires.out tests/test-requires.t tests/test-revert-flags.t tests/test-revert-unknown.t tests/test-revert.t tests/test-revset.t tests/test-strict.t |
diffstat | 3 files changed, 14 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-requires Mon Aug 30 14:01:57 2010 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,14 +0,0 @@ -#!/bin/sh - -mkdir t -cd t -hg init -echo a > a -hg add a -hg commit -m test -d "1000000 0" -rm .hg/requires -hg tip -echo indoor-pool > .hg/requires -hg tip - -true
--- a/tests/test-requires.out Mon Aug 30 14:01:57 2010 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -abort: index 00changelog.i unknown format 2! -abort: requirement 'indoor-pool' not supported!
--- /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