Mercurial > hg-stable
diff tests/test-mq-qrefresh-replace-log-message @ 2843:0b9ac7dfcf56
Fix some tests for portability.
author | Danek Duvall <danek.duvall@sun.com> |
---|---|
date | Wed, 09 Aug 2006 12:05:40 -0700 |
parents | 79c31b6b9c83 |
children | 61fcd9fac434 |
line wrap: on
line diff
--- a/tests/test-mq-qrefresh-replace-log-message Wed Aug 09 13:55:18 2006 -0500 +++ b/tests/test-mq-qrefresh-replace-log-message Wed Aug 09 12:05:40 2006 -0700 @@ -33,7 +33,7 @@ echo bbbb > file hg qrefresh -l logfile echo ======================= -echo "Should display 'Third commit message\n This is the 3rd log message'" +printf "Should display 'Third commit message\\\n This is the 3rd log message'\n" hg log -l1 -v | sed -n '/description/,$p' echo @@ -46,6 +46,6 @@ echo " This is the 5th log message" >> logfile) |\ hg qrefresh -l- echo ======================= -echo "Should display 'Fifth commit message\n This is the 5th log message'" +printf "Should display 'Fifth commit message\\\n This is the 5th log message'\n" hg log -l1 -v | sed -n '/description/,$p' echo