test-serve: use service that works on more platforms
authorMads Kiilerich <mads@kiilerich.com>
Tue, 28 Sep 2010 02:57:59 +0200
changeset 12578 fdb0983ad395
parent 12577 05210e955bef
child 12579 aa1faedeac5a
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.
tests/test-serve
tests/test-serve.out
--- 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