diff --git a/tests/test-dirstatedirs b/tests/test-dirstate.t old mode 100755 new mode 100644 rename from tests/test-dirstatedirs rename to tests/test-dirstate.t --- a/tests/test-dirstatedirs +++ b/tests/test-dirstate.t @@ -1,11 +1,17 @@ -#!/bin/sh +Test dirstate._dirs refcounting: -# test dirstate._dirs refcounting -hg init t -cd t -mkdir -p a/b/c/d -touch a/b/c/d/x -touch a/b/c/d/y -touch a/b/c/d/z -hg ci -Am m -hg mv a z + $ hg init t + $ cd t + $ mkdir -p a/b/c/d + $ touch a/b/c/d/x + $ touch a/b/c/d/y + $ touch a/b/c/d/z + $ hg ci -Am m + adding a/b/c/d/x + adding a/b/c/d/y + adding a/b/c/d/z + $ hg mv a z + moving a/b/c/d/x to z/b/c/d/x + moving a/b/c/d/y to z/b/c/d/y + moving a/b/c/d/z to z/b/c/d/z + diff --git a/tests/test-dirstatedirs.out b/tests/test-dirstatedirs.out deleted file mode 100644 --- a/tests/test-dirstatedirs.out +++ /dev/null @@ -1,6 +0,0 @@ -adding a/b/c/d/x -adding a/b/c/d/y -adding a/b/c/d/z -moving a/b/c/d/x to z/b/c/d/x -moving a/b/c/d/y to z/b/c/d/y -moving a/b/c/d/z to z/b/c/d/z