Mercurial > hg
view tests/test-issue1438 @ 10253:b190a8125b43 stable
Work around AIX shell builtin printf not handling \NNN.
On AIX, ksh builtin printf does not understand \NNN. Some tests use this
to generate test data, and so fail on AIX. Rework these tests to use python
to generate the correct characters. This fixes the tests on AIX and should
be more generally portable.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Wed, 06 Jan 2010 18:03:33 +0000 |
parents | 2c5b2abfb8be |
children |
line wrap: on
line source
#!/bin/sh "$TESTDIR/hghave" symlink || exit 80 rm -rf a hg init a cd a ln -s foo link hg add link hg ci -mbad link hg rm link hg ci -mok hg diff -g -r 0:1 > bad.patch hg up 0 hg import --no-commit bad.patch hg st