Mercurial > hg
changeset 42243:165b1aad43da
tests: flatten repo structure in test-commit.t
Let's move to parent directory before `hg init` repos, since they don't need to
be nested. It makes amend/strip messages that include full path to the backup
bundle shorter, for instance.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 03 May 2019 14:07:14 +0800 |
parents | 1756859a65fa |
children | 0f01394457a0 |
files | tests/test-commit.t |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-commit.t Sat May 04 01:16:42 2019 -0400 +++ b/tests/test-commit.t Fri May 03 14:07:14 2019 +0800 @@ -708,6 +708,8 @@ abort: path contains illegal component: HG8B6C~2/hgrc [255] + $ cd .. + # test that an unmodified commit template message aborts $ hg init unmodified_commit_template @@ -734,6 +736,8 @@ abort: commit message unchanged [255] + $ cd .. + test that text below the --- >8 --- special string is ignored $ cat <<'EOF' > $TESTTMP/lowercaseline.sh