changeset 12578:fdb0983ad395

test-serve: use service that works on more platforms Follow-up to ba8850911703: echo is ambiguous on OS/X, and Solaris have neither http nor gopher. daytime seems to be available everywhere.
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 28 Sep 2010 02:57:59 +0200
parents 05210e955bef
children aa1faedeac5a
files tests/test-serve tests/test-serve.out
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-serve	Tue Sep 28 01:11:24 2010 +0200
+++ b/tests/test-serve	Tue Sep 28 02:57:59 2010 +0200
@@ -40,9 +40,9 @@
 echo % With -v and -p HGPORT2
 hgserve -p "$HGPORT2"
 
-echo '% With -v and -p echo (should fail because low port)'
+echo '% With -v and -p daytime (should fail because low port)'
 KILLQUIETLY=Y
-hgserve -p echo
+hgserve -p daytime
 KILLQUIETLY=N
 
 echo % With --prefix foo
--- a/tests/test-serve.out	Tue Sep 28 01:11:24 2010 +0200
+++ b/tests/test-serve.out	Tue Sep 28 02:57:59 2010 +0200
@@ -7,8 +7,8 @@
 % With -v and -p HGPORT2
 listening at http://localhost/ (bound to 127.0.0.1:HGPORT2)
 % errors
-% With -v and -p echo (should fail because low port)
-abort: cannot start server at 'localhost:7': Permission denied
+% With -v and -p daytime (should fail because low port)
+abort: cannot start server at 'localhost:13': Permission denied
 abort: child process failed to start
 % errors
 % With --prefix foo