Mercurial > hg
changeset 1168:235e0effa672
Fixed two tests to run with bourne shell.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 30 Aug 2005 19:42:58 +0200 |
parents | 8787d2d5fc7d |
children | e388c4f5cec5 |
files | tests/test-copy2 tests/test-ssh tests/test-ssh.out |
diffstat | 3 files changed, 5 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-copy2 Tue Aug 30 19:32:11 2005 +0200 +++ b/tests/test-copy2 Tue Aug 30 19:42:58 2005 +0200 @@ -8,11 +8,11 @@ echo "# should show copy" cp foo bar hg copy foo bar -hg debugstate|grep ^copy +hg debugstate|grep '^copy' echo "# shouldn't show copy" hg commit -m2 -d"0 0" -hg debugstate|grep ^copy +hg debugstate|grep '^copy' echo "# should match" hg debugindex .hg/data/foo.i @@ -28,7 +28,7 @@ cp foo bar hg copy foo bar echo "# should show copy" -hg debugstate|grep ^copy +hg debugstate|grep '^copy' hg commit -m3 -d"0 0" echo "# should show no parents for tip" @@ -38,6 +38,6 @@ hg debugrename bar echo "# should show no copies" -hg debugstate|grep ^copy +hg debugstate|grep '^copy' exit 0
--- a/tests/test-ssh Tue Aug 30 19:32:11 2005 +0200 +++ b/tests/test-ssh Tue Aug 30 19:42:58 2005 +0200 @@ -13,7 +13,7 @@ fi # check that we're in the right directory -if \! [ -x dummyssh ] ; then +if [ ! -x dummyssh ] ; then exit -1 fi
--- a/tests/test-ssh.out Tue Aug 30 19:32:11 2005 +0200 +++ b/tests/test-ssh.out Tue Aug 30 19:42:58 2005 +0200 @@ -5,7 +5,6 @@ adding manifests adding file changes added 1 changesets with 1 changes to 1 files -remote: ./dummyssh: line 11: !: command not found # verify checking changesets checking manifests @@ -16,13 +15,11 @@ default = ssh://user@dummy/remote pulling from ssh://user@dummy/remote searching for changes -remote: ../dummyssh: line 11: !: command not found no changes found # local change # updating rc # find outgoing searching for changes -remote: ../dummyssh: line 11: !: command not found changeset: 1:536411b157b4 tag: tip user: test @@ -31,7 +28,6 @@ # push pushing to ssh://user@dummy/remote -remote: ../dummyssh: line 11: !: command not found searching for changes remote: adding changesets remote: adding manifests