Mercurial > hg-stable
changeset 16975:921458360270
tests: remove hghave system-sh from test-pending.t
The alternative would have been to add a unix-permissions requirement.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 18 Jun 2012 03:42:28 +0200 |
parents | 01ed5bb5cd41 |
children | 132ea1736751 |
files | tests/test-pending.t |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-pending.t Fri Jun 15 00:02:27 2012 +0200 +++ b/tests/test-pending.t Mon Jun 18 03:42:28 2012 +0200 @@ -1,5 +1,3 @@ - $ "$TESTDIR/hghave" system-sh || exit 80 - Verify that pending changesets are seen by pretxn* hooks but not by other processes that access the destination repo while the hooks are running. @@ -62,7 +60,6 @@ external hook $ cat <<EOF > reject.sh - > #! /bin/sh > printf 'hook '; hg tip --template '{node}\\n' > # create the notify file so caller knows we're running > fpath=$d/notify @@ -75,7 +72,6 @@ > done > exit 1 # reject the changesets > EOF - $ chmod +x reject.sh create repos @@ -107,7 +103,7 @@ $ cat <<EOF > parent/.hg/hgrc > [hooks] - > pretxnchangegroup = $d/reject.sh + > pretxnchangegroup = sh $d/reject.sh > EOF $ dotest