You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2004/02/20 23:23:28 UTC

cvs commit: apache-1.3/src/test/vhtest runtest

nd          2004/02/20 14:23:28

  Modified:    src/test check_chunked cls.c test-writev.c test_date.c
                        test_find.c test_parser.c test_select.c time-sem.c
               src/test/vhtest runtest
  Log:
  apply Apache License, Version 2.0
  
  Revision  Changes    Path
  1.4       +16 -1     apache-1.3/src/test/check_chunked
  
  Index: check_chunked
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/test/check_chunked,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -u -r1.3 -r1.4
  --- check_chunked	13 Aug 1999 00:51:35 -0000	1.3
  +++ check_chunked	20 Feb 2004 22:23:27 -0000	1.4
  @@ -1,5 +1,20 @@
   #!/usr/bin/perl -w
  -
  +#
  +# Copyright 1999-2004 The Apache Software Foundation
  +#
  +# Licensed under the Apache License, Version 2.0 (the "License");
  +# you may not use this file except in compliance with the License.
  +# You may obtain a copy of the License at
  +#
  +#     http://www.apache.org/licenses/LICENSE-2.0
  +#
  +# Unless required by applicable law or agreed to in writing, software
  +# distributed under the License is distributed on an "AS IS" BASIS,
  +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  +# See the License for the specific language governing permissions and
  +# limitations under the License.
  +#
  +#
   # This is meant to be used on the raw output of an HTTP/1.1 connection
   # to check that the chunks are all correctly laid out.  It's easiest
   # to use a tool like netcat to generate the output.  This script
  
  
  
  1.5       +15 -0     apache-1.3/src/test/cls.c
  
  Index: cls.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/test/cls.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -u -r1.4 -r1.5
  --- cls.c	14 Sep 1997 22:48:08 -0000	1.4
  +++ cls.c	20 Feb 2004 22:23:27 -0000	1.5
  @@ -1,3 +1,18 @@
  +/* Copyright 1999-2004 The Apache Software Foundation
  + *
  + * Licensed under the Apache License, Version 2.0 (the "License");
  + * you may not use this file except in compliance with the License.
  + * You may obtain a copy of the License at
  + *
  + *     http://www.apache.org/licenses/LICENSE-2.0
  + *
  + * Unless required by applicable law or agreed to in writing, software
  + * distributed under the License is distributed on an "AS IS" BASIS,
  + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  + * See the License for the specific language governing permissions and
  + * limitations under the License.
  + */
  +
   #include <ctype.h>
   #include <dirent.h>
   #include <stdio.h>
  
  
  
  1.2       +15 -0     apache-1.3/src/test/test-writev.c
  
  Index: test-writev.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/test/test-writev.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- test-writev.c	10 Nov 1997 02:03:40 -0000	1.1
  +++ test-writev.c	20 Feb 2004 22:23:27 -0000	1.2
  @@ -1,3 +1,18 @@
  +/* Copyright 1999-2004 The Apache Software Foundation
  + *
  + * Licensed under the Apache License, Version 2.0 (the "License");
  + * you may not use this file except in compliance with the License.
  + * You may obtain a copy of the License at
  + *
  + *     http://www.apache.org/licenses/LICENSE-2.0
  + *
  + * Unless required by applicable law or agreed to in writing, software
  + * distributed under the License is distributed on an "AS IS" BASIS,
  + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  + * See the License for the specific language governing permissions and
  + * limitations under the License.
  + */
  +
   /*
       test-writev: use this to figure out if your writev() does intelligent
       things on the network.  Some writev()s when given multiple buffers
  
  
  
  1.2       +15 -0     apache-1.3/src/test/test_date.c
  
  Index: test_date.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/test/test_date.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- test_date.c	4 Nov 1997 02:47:12 -0000	1.1
  +++ test_date.c	20 Feb 2004 22:23:27 -0000	1.2
  @@ -1,3 +1,18 @@
  +/* Copyright 1999-2004 The Apache Software Foundation
  + *
  + * Licensed under the Apache License, Version 2.0 (the "License");
  + * you may not use this file except in compliance with the License.
  + * You may obtain a copy of the License at
  + *
  + *     http://www.apache.org/licenses/LICENSE-2.0
  + *
  + * Unless required by applicable law or agreed to in writing, software
  + * distributed under the License is distributed on an "AS IS" BASIS,
  + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  + * See the License for the specific language governing permissions and
  + * limitations under the License.
  + */
  +
   /* This program tests the parseHTTPdate routine in ../main/util_date.c.
    *
    * It is only semiautomated in that I would run it, modify the code to
  
  
  
  1.3       +15 -0     apache-1.3/src/test/test_find.c
  
  Index: test_find.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/test/test_find.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -u -r1.2 -r1.3
  --- test_find.c	22 Jun 2000 23:23:26 -0000	1.2
  +++ test_find.c	20 Feb 2004 22:23:27 -0000	1.3
  @@ -1,3 +1,18 @@
  +/* Copyright 1999-2004 The Apache Software Foundation
  + *
  + * Licensed under the Apache License, Version 2.0 (the "License");
  + * you may not use this file except in compliance with the License.
  + * You may obtain a copy of the License at
  + *
  + *     http://www.apache.org/licenses/LICENSE-2.0
  + *
  + * Unless required by applicable law or agreed to in writing, software
  + * distributed under the License is distributed on an "AS IS" BASIS,
  + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  + * See the License for the specific language governing permissions and
  + * limitations under the License.
  + */
  +
   /* This program tests the ap_find_list_item routine in ../main/util.c.
    *
    * The defines in this sample compile line are specific to Roy's system.
  
  
  
  1.5       +15 -0     apache-1.3/src/test/test_parser.c
  
  Index: test_parser.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/test/test_parser.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -u -r1.4 -r1.5
  --- test_parser.c	22 Jun 2000 23:23:27 -0000	1.4
  +++ test_parser.c	20 Feb 2004 22:23:27 -0000	1.5
  @@ -1,3 +1,18 @@
  +/* Copyright 1999-2004 The Apache Software Foundation
  + *
  + * Licensed under the Apache License, Version 2.0 (the "License");
  + * you may not use this file except in compliance with the License.
  + * You may obtain a copy of the License at
  + *
  + *     http://www.apache.org/licenses/LICENSE-2.0
  + *
  + * Unless required by applicable law or agreed to in writing, software
  + * distributed under the License is distributed on an "AS IS" BASIS,
  + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  + * See the License for the specific language governing permissions and
  + * limitations under the License.
  + */
  +
   /* This program tests the ap_get_list_item routine in ../main/util.c.
    *
    * The defines in this sample compile line are specific to Roy's system.
  
  
  
  1.2       +15 -0     apache-1.3/src/test/test_select.c
  
  Index: test_select.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/test/test_select.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- test_select.c	4 Nov 1997 02:47:13 -0000	1.1
  +++ test_select.c	20 Feb 2004 22:23:27 -0000	1.2
  @@ -1,3 +1,18 @@
  +/* Copyright 1999-2004 The Apache Software Foundation
  + *
  + * Licensed under the Apache License, Version 2.0 (the "License");
  + * you may not use this file except in compliance with the License.
  + * You may obtain a copy of the License at
  + *
  + *     http://www.apache.org/licenses/LICENSE-2.0
  + *
  + * Unless required by applicable law or agreed to in writing, software
  + * distributed under the License is distributed on an "AS IS" BASIS,
  + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  + * See the License for the specific language governing permissions and
  + * limitations under the License.
  + */
  +
   /* This is just a quick test program to see how long a wait is
    * produced by a select loop with an exponential backoff.
    *
  
  
  
  1.8       +15 -0     apache-1.3/src/test/time-sem.c
  
  Index: time-sem.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/test/time-sem.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -u -r1.7 -r1.8
  --- time-sem.c	22 Jan 1998 23:12:06 -0000	1.7
  +++ time-sem.c	20 Feb 2004 22:23:27 -0000	1.8
  @@ -1,3 +1,18 @@
  +/* Copyright 1999-2004 The Apache Software Foundation
  + *
  + * Licensed under the Apache License, Version 2.0 (the "License");
  + * you may not use this file except in compliance with the License.
  + * You may obtain a copy of the License at
  + *
  + *     http://www.apache.org/licenses/LICENSE-2.0
  + *
  + * Unless required by applicable law or agreed to in writing, software
  + * distributed under the License is distributed on an "AS IS" BASIS,
  + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  + * See the License for the specific language governing permissions and
  + * limitations under the License.
  + */
  +
   /*
   time-sem.c has the basics of the semaphores we use in http_main.c.  It's
   intended for timing differences between various methods on an
  
  
  
  1.2       +15 -0     apache-1.3/src/test/vhtest/runtest
  
  Index: runtest
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/test/vhtest/runtest,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- runtest	10 Nov 1997 02:11:41 -0000	1.1
  +++ runtest	20 Feb 2004 22:23:28 -0000	1.2
  @@ -1,4 +1,19 @@
   #!/bin/sh
  +#
  +# Copyright 1999-2004 The Apache Software Foundation
  +#
  +# Licensed under the Apache License, Version 2.0 (the "License");
  +# you may not use this file except in compliance with the License.
  +# You may obtain a copy of the License at
  +#
  +#     http://www.apache.org/licenses/LICENSE-2.0
  +#
  +# Unless required by applicable law or agreed to in writing, software
  +# distributed under the License is distributed on an "AS IS" BASIS,
  +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  +# See the License for the specific language governing permissions and
  +# limitations under the License.
  +
   
   if [ $# -lt 1 ]; then
       echo "usage: runtest /path/to/httpd" 1>&2