# HG changeset patch # User Thomas Arendsen Hein # Date 1200297623 -3600 # Node ID 67b4decdee67f879bcdd45ed2fdd5c4c2caf1246 # Parent 9f78d508764b0c72b2320323ab679338c95797c1 Solaris compatibility fixes for test-keyword: - do not use /bin/false (yields 255 instead of 1) - do not use "cd -", simply use "cd .." instead. diff -r 9f78d508764b -r 67b4decdee67 tests/test-keyword --- a/tests/test-keyword Fri Jan 11 14:41:22 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 diff -r 9f78d508764b -r 67b4decdee67 tests/test-keyword.out --- a/tests/test-keyword.out Fri Jan 11 14:41:22 2008 +0100 +++ b/tests/test-keyword.out Mon Jan 14 09:00:23 2008 +0100 @@ -103,7 +103,7 @@ sym transaction abort! rollback completed -abort: edit failed: false exited with status 1 +abort: empty commit message % status A a A b @@ -207,7 +207,7 @@ % interrupted commit should not change state transaction abort! rollback completed -abort: edit failed: false exited with status 1 +abort: empty commit message % status M a ? log