##// END OF EJS Templates
small solaris portability fixes from John Levon <levon@movementarian.org>
Peter van Dijk -
r1925:c71420b1 default
parent child Browse files
Show More
@@ -19,6 +19,9 b' HGEDITOR=true; export HGEDITOR'
19 HGMERGE=true; export HGMERGE
19 HGMERGE=true; export HGMERGE
20 HGUSER="test"; export HGUSER
20 HGUSER="test"; export HGUSER
21
21
22 ECHO_N="echo -n"
23 [ -x /usr/ucb/echo ] && ECHO_N="/usr/ucb/echo -n"
24
22 umask 022
25 umask 022
23
26
24 tests=0
27 tests=0
@@ -126,7 +129,7 b' if [ -z "$TESTS" ] ; then'
126 fi
129 fi
127
130
128 for f in $TESTS ; do
131 for f in $TESTS ; do
129 echo -n "."
132 $ECHO_N "."
130 run_one $f || failed=`expr $failed + 1`
133 run_one $f || failed=`expr $failed + 1`
131 tests=`expr $tests + 1`
134 tests=`expr $tests + 1`
132 done
135 done
@@ -30,8 +30,8 b" f = urllib2.urlopen('http://127.0.0.1:20"
30 % (node, archive))
30 % (node, archive))
31 sys.stdout.write(f.read())
31 sys.stdout.write(f.read())
32 EOF
32 EOF
33 http_proxy= python getarchive.py "$TIP" gz | tar tzf - | sed "s/$QTIP/TIP/"
33 http_proxy= python getarchive.py "$TIP" gz | gunzip -dc - | tar tf - | sed "s/$QTIP/TIP/"
34 http_proxy= python getarchive.py "$TIP" bz2 | tar tjf - | sed "s/$QTIP/TIP/"
34 http_proxy= python getarchive.py "$TIP" bz2 | bunzip2 -dc - | tar tf - | sed "s/$QTIP/TIP/"
35 http_proxy= python getarchive.py "$TIP" zip > archive.zip
35 http_proxy= python getarchive.py "$TIP" zip > archive.zip
36 unzip -t archive.zip | sed "s/$QTIP/TIP/"
36 unzip -t archive.zip | sed "s/$QTIP/TIP/"
37
37
@@ -12,5 +12,5 b' hg commit -m branch2 -d "0 0"'
12 HGMERGE=merge; export HGMERGE
12 HGMERGE=merge; export HGMERGE
13 hg up -m 1
13 hg up -m 1
14 hg id
14 hg id
15 grep -Ev ">>>|<<<" a
15 egrep -v ">>>|<<<" a
16 hg status
16 hg status
General Comments 0
You need to be logged in to leave comments. Login now