# HG changeset patch # User Nicolas Dumazet # Date 2010-08-12 06:18:44 # Node ID 7d9be960cd9a7bf14d19a5ae19c5ca8061f91480 # Parent 8a1943685dfb31f64e2454d7e34e730752a17438 tests: unify test-paths diff --git a/tests/test-paths.out b/tests/test-paths.out deleted file mode 100644 --- a/tests/test-paths.out +++ /dev/null @@ -1,2 +0,0 @@ -updating to branch default -0 files updated, 0 files merged, 0 files removed, 0 files unresolved diff --git a/tests/test-paths b/tests/test-paths.t old mode 100755 new mode 100644 rename from tests/test-paths rename to tests/test-paths.t --- a/tests/test-paths +++ b/tests/test-paths.t @@ -1,10 +1,15 @@ -#!/bin/sh -hg init a -hg clone a b -cd a -echo '[paths]' >> .hg/hgrc -echo 'dupe = ../b' >> .hg/hgrc -hg in dupe | fgrep '../' -cd .. -hg -R a in dupe | fgrep '../' -true + $ hg init a + $ hg clone a b + updating to branch default + 0 files updated, 0 files merged, 0 files removed, 0 files unresolved + $ cd a + $ echo '[paths]' >> .hg/hgrc + $ echo 'dupe = ../b' >> .hg/hgrc + $ hg in dupe + comparing with .*/test-paths.t/b + no changes found + $ cd .. + $ hg -R a in dupe + comparing with .*/test-paths.t/b + no changes found + $ true