comparison tests/test-up-local-change @ 949:d997148155f2

test fixes for Solaris 2.6 Solaris 2.6's stock sed doesn't support alternatives in regular expression. We workaround by breaking up the regexp.
author TK Soh <teekaysoh@yahoo.com>
date Thu, 18 Aug 2005 13:33:39 +0100
parents 0902ffece4b4
children 52d8d81e72ad
comparison
equal deleted inserted replaced
940:1300271ba8de 949:d997148155f2
10 10
11 hg clone . ../r2 11 hg clone . ../r2
12 cd ../r2 12 cd ../r2
13 hg up 13 hg up
14 echo abc > a 14 echo abc > a
15 hg diff > ../d 15 hg diff | sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \
16 sed "s/\(\(---\|+++\) [a-zA-Z0-9_/.-]*\).*/\1/" < ../d 16 -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/"
17 17
18 cd ../r1 18 cd ../r1
19 echo b > b 19 echo b > b
20 echo a2 > a 20 echo a2 > a
21 hg addremove 21 hg addremove
26 hg status 26 hg status
27 hg --debug up 27 hg --debug up
28 hg --debug up -m 28 hg --debug up -m
29 hg parents 29 hg parents
30 hg -v history 30 hg -v history
31 hg diff > ../d 31 hg diff | sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \
32 sed "s/\(\(---\|+++\) [a-zA-Z0-9_/.-]*\).*/\1/" < ../d 32 -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/"
33 33