Mercurial > public > mercurial-scm > hg-stable
diff tests/test-keyword @ 5855:a6ccb957fd07
Solaris compatibility fixes for test-keyword:
- do not use /bin/false (yields 255 instead of 1)
- do not use "cd -", simply use "cd .." instead.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Mon, 14 Jan 2008 09:00:23 +0100 |
parents | 59fba5caa94b |
children | 85888efbdfff |
line wrap: on
line diff
--- a/tests/test-keyword Sat Jan 05 01:51:21 2008 +0100 +++ b/tests/test-keyword Mon Jan 14 09:00:23 2008 +0100 @@ -44,7 +44,7 @@ echo % default keyword expansion including commit hook echo % interrupted commit should not change state or run commit hook -HGEDITOR=false hg --debug commit +hg --debug commit echo % status hg status @@ -131,7 +131,7 @@ EOF echo % interrupted commit should not change state -HGEDITOR=false hg commit +hg commit echo % status hg status @@ -207,7 +207,7 @@ hg --verbose kwshrink a echo % cat a cat a -cd - > /dev/null 2>&1 +cd .. echo % kwexpand nonexistent hg kwexpand nonexistent