summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndré Malo <nd@apache.org>2004-02-06 23:08:00 +0000
committerAndré Malo <nd@apache.org>2004-02-06 23:08:00 +0000
commit537211bf64e06a71e70968a96b5ecb401c0a5325 (patch)
treec207d336f86c57504bd59f85da19af6b364a33a6 /test
parent4f02cb1e1863f0e130a244f715853ce5dbfc3660 (diff)
downloadhttpd-537211bf64e06a71e70968a96b5ecb401c0a5325.tar.gz
apply Apache License, Version 2.0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102526 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/check_chunked17
-rw-r--r--test/cls.c15
-rw-r--r--test/test-writev.c15
-rw-r--r--test/test_find.c15
-rw-r--r--test/test_parser.c15
-rw-r--r--test/test_select.c15
-rw-r--r--test/time-sem.c15
7 files changed, 106 insertions, 1 deletions
diff --git a/test/check_chunked b/test/check_chunked
index 6a12167211..0dd4e365b5 100644
--- a/test/check_chunked
+++ b/test/check_chunked
@@ -1,5 +1,20 @@
#!/usr/bin/perl -w
-
+#
+# Copyright 2000-2004 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
diff --git a/test/cls.c b/test/cls.c
index 91114a784c..c67a7cddb8 100644
--- a/test/cls.c
+++ b/test/cls.c
@@ -1,3 +1,18 @@
+/* Copyright 2000-2004 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>
diff --git a/test/test-writev.c b/test/test-writev.c
index 852c701766..a11418bbe8 100644
--- a/test/test-writev.c
+++ b/test/test-writev.c
@@ -1,3 +1,18 @@
+/* Copyright 2000-2004 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
diff --git a/test/test_find.c b/test/test_find.c
index e71a531804..c8155687ce 100644
--- a/test/test_find.c
+++ b/test/test_find.c
@@ -1,3 +1,18 @@
+/* Copyright 2000-2004 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.
diff --git a/test/test_parser.c b/test/test_parser.c
index eef1be45cd..b6009621b1 100644
--- a/test/test_parser.c
+++ b/test/test_parser.c
@@ -1,3 +1,18 @@
+/* Copyright 2000-2004 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.
diff --git a/test/test_select.c b/test/test_select.c
index 8c0a6a4363..d506e3003a 100644
--- a/test/test_select.c
+++ b/test/test_select.c
@@ -1,3 +1,18 @@
+/* Copyright 2000-2004 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.
*
diff --git a/test/time-sem.c b/test/time-sem.c
index 89ca2b7e43..bc5c290442 100644
--- a/test/time-sem.c
+++ b/test/time-sem.c
@@ -1,3 +1,18 @@
+/* Copyright 2000-2004 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