changeset 18228:1528ff6ac7ee

test-largefiles.t: fix wrong '#if hgweb' - it should be '#if serve' A bug introduced in 0c1d10351869 did that a part of the test never was run.
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 07 Jan 2013 02:00:43 +0100
parents 720308f741cb
children 77d06793a20d
files tests/test-largefiles.t
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-largefiles.t	Mon Jan 07 02:00:29 2013 +0100
+++ b/tests/test-largefiles.t	Mon Jan 07 02:00:43 2013 +0100
@@ -217,28 +217,28 @@
   ./foo
   $ cd ../../a
 
-#if hgweb
+#if serve
 Test display of largefiles in hgweb
 
   $ hg serve -d -p $HGPORT --pid-file ../hg.pid
   $ cat ../hg.pid >> $DAEMON_PIDS
   $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file/tip/?style=raw'
   200 Script output follows
-
-
+  
+  
   drwxr-xr-x sub
   -rw-r--r-- 41 large3
   -rw-r--r-- 9 normal3
-
-
+  
+  
   $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file/tip/sub/?style=raw'
   200 Script output follows
-
-
+  
+  
   -rw-r--r-- 41 large4
   -rw-r--r-- 9 normal4
-
-
+  
+  
   $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
 #endif