comparison tests/test-bad-pull @ 800:ec85f9e6f3b1

Don't use 'set -x', fix exports, sed and hexdump usage for Solaris.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 29 Jul 2005 15:19:43 +0100
parents 574869103985
children 8f5637f0a0c0
comparison
equal deleted inserted replaced
799:583e290e4945 800:ec85f9e6f3b1
1 #!/bin/sh -x 1 #!/bin/sh
2 2
3 hg clone http://localhost:20059/ copy 3 hg clone http://localhost:20059/ copy
4 echo $? 4 echo $?
5 ls copy 5 ls copy
6 6
15 15
16 signal.signal(signal.SIGTERM, lambda x: sys.exit(0)) 16 signal.signal(signal.SIGTERM, lambda x: sys.exit(0))
17 run() 17 run()
18 EOF 18 EOF
19 19
20 set +x # backgrounding sometimes disturbs the order of command tracing
21 python dumb.py 2>/dev/null & 20 python dumb.py 2>/dev/null &
22 set -x
23 21
24 hg clone http://localhost:20059/foo copy2 22 hg clone http://localhost:20059/foo copy2
25 echo $? 23 echo $?
26 24
27 set +x
28 kill $! 25 kill $!