r2910 - trunk/varnish-cache/bin/varnishtest
phk at projects.linpro.no
phk at projects.linpro.no
Thu Jul 10 09:27:56 CEST 2008
Author: phk
Date: 2008-07-10 09:27:56 +0200 (Thu, 10 Jul 2008)
New Revision: 2910
Removed:
trunk/varnish-cache/bin/varnishtest/vtc_stats.c
Modified:
trunk/varnish-cache/bin/varnishtest/Makefile.am
trunk/varnish-cache/bin/varnishtest/vtc.c
Log:
Remove global "stats", stats are per varnish instance.
Modified: trunk/varnish-cache/bin/varnishtest/Makefile.am
===================================================================
--- trunk/varnish-cache/bin/varnishtest/Makefile.am 2008-07-09 09:06:57 UTC (rev 2909)
+++ trunk/varnish-cache/bin/varnishtest/Makefile.am 2008-07-10 07:27:56 UTC (rev 2910)
@@ -11,7 +11,6 @@
vtc_http.c \
vtc_log.c \
vtc_server.c \
- vtc_stats.c \
vtc_varnish.c
varnishtest_LDADD = \
Modified: trunk/varnish-cache/bin/varnishtest/vtc.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc.c 2008-07-09 09:06:57 UTC (rev 2909)
+++ trunk/varnish-cache/bin/varnishtest/vtc.c 2008-07-10 07:27:56 UTC (rev 2910)
@@ -279,7 +279,6 @@
static struct cmds cmds[] = {
{ "server", cmd_server },
{ "client", cmd_client },
- { "stats", cmd_stats },
{ "varnish", cmd_varnish },
{ "delay", cmd_delay },
{ "test", cmd_test },
Deleted: trunk/varnish-cache/bin/varnishtest/vtc_stats.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc_stats.c 2008-07-09 09:06:57 UTC (rev 2909)
+++ trunk/varnish-cache/bin/varnishtest/vtc_stats.c 2008-07-10 07:27:56 UTC (rev 2910)
@@ -1,39 +0,0 @@
-/*
- * Copyright (c) 2006-2008 Linpro AS
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * $Id$
- */
-
-
-#include <stdio.h>
-
-#include "vtc.h"
-
-void
-cmd_stats(CMD_ARGS)
-{
-
- cmd_dump(av, priv, cmd);
-}
More information about the varnish-commit
mailing list