comparison tests/test-serve.out @ 12403:ba8850911703

test-serve: fix test for binding to low named port on solaris Solaris do not know the service called http, so we use echo instead. Trying to define KILLQUIETLY when running the hgserve function didn't set the value within the function. Now we set the variable before calling the function.
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 25 Sep 2010 02:35:32 +0200
parents 49463314c24f
children fdb0983ad395
comparison
equal deleted inserted replaced
12402:b014f998959d 12403:ba8850911703
5 listening at http://localhost/ (bound to 127.0.0.1:HGPORT1) 5 listening at http://localhost/ (bound to 127.0.0.1:HGPORT1)
6 % errors 6 % errors
7 % With -v and -p HGPORT2 7 % With -v and -p HGPORT2
8 listening at http://localhost/ (bound to 127.0.0.1:HGPORT2) 8 listening at http://localhost/ (bound to 127.0.0.1:HGPORT2)
9 % errors 9 % errors
10 % With -v and -p http (should fail) 10 % With -v and -p echo (should fail because low port)
11 abort: cannot start server at 'localhost:80': Permission denied 11 abort: cannot start server at 'localhost:7': Permission denied
12 abort: child process failed to start 12 abort: child process failed to start
13 % errors 13 % errors
14 % With --prefix foo 14 % With --prefix foo
15 listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1) 15 listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1)
16 % errors 16 % errors