You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ns...@apache.org on 2009/07/14 21:36:13 UTC
svn commit: r794030 - in /couchdb/trunk: ./ bin/ share/www/ src/couchdb/
test/ test/etap/
Author: nslater
Date: Tue Jul 14 19:36:12 2009
New Revision: 794030
URL: http://svn.apache.org/viewvc?rev=794030&view=rev
Log:
added licence check, and licence.skip
Added:
couchdb/trunk/licence.skip
Modified:
couchdb/trunk/Makefile.am
couchdb/trunk/bin/couchdb.tpl.in
couchdb/trunk/share/www/_sidebar.html
couchdb/trunk/share/www/index.html
couchdb/trunk/src/couchdb/couch_db.erl
couchdb/trunk/test/couch_config_test.erl
couchdb/trunk/test/couch_config_writer_test.erl
couchdb/trunk/test/etap/001-load.t
couchdb/trunk/test/etap/010-file-basics.t
couchdb/trunk/test/etap/011-file-headers.t
couchdb/trunk/test/etap/020-btree-basics.t
couchdb/trunk/test/etap/021-btree-reductions.t
couchdb/trunk/test/etap/030-doc-from-json.t
couchdb/trunk/test/etap/031-doc-to-json.t
couchdb/trunk/test/etap/040-util.t
couchdb/trunk/test/etap/050-stream.t
couchdb/trunk/test/etap/060-kt-merging.t
couchdb/trunk/test/etap/061-kt-missing-leaves.t
couchdb/trunk/test/etap/062-kt-remove-leaves.t
couchdb/trunk/test/etap/063-kt-get-leaves.t
couchdb/trunk/test/etap/064-kt-counting.t
couchdb/trunk/test/etap/065-kt-stemming.t
couchdb/trunk/test/etap/070-couch-db.t
couchdb/trunk/test/etap/080-config-get-set.t
couchdb/trunk/test/etap/081-config-override.2.ini
couchdb/trunk/test/etap/081-config-override.t
couchdb/trunk/test/etap/082-config-register.t
couchdb/trunk/test/etap/083-config-no-files.t
couchdb/trunk/test/etap/090-task-status.t
couchdb/trunk/test/etap/100-ref-counter.t
couchdb/trunk/test/runner.erl
couchdb/trunk/test/runner.sh
Modified: couchdb/trunk/Makefile.am
URL: http://svn.apache.org/viewvc/couchdb/trunk/Makefile.am?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/Makefile.am (original)
+++ couchdb/trunk/Makefile.am Tue Jul 14 19:36:12 2009
@@ -69,6 +69,11 @@
rm -fr $(top_srcdir)/tmp
find $(top_srcdir) -name Makefile.in -exec rm {} \;
+distcheck-hook:
+ grep -rL 'http://www.apache.org/licenses/LICENSE-2.0' * \
+ | grep -vf licence.skip; \
+ test "$$?" -eq 1
+
.PHONY: distsign
distsign: distcheck
gpg --armor --detach-sig \
Modified: couchdb/trunk/bin/couchdb.tpl.in
URL: http://svn.apache.org/viewvc/couchdb/trunk/bin/couchdb.tpl.in?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/bin/couchdb.tpl.in (original)
+++ couchdb/trunk/bin/couchdb.tpl.in Tue Jul 14 19:36:12 2009
@@ -1,14 +1,14 @@
#! /bin/sh -e
# 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
+# 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
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
Added: couchdb/trunk/licence.skip
URL: http://svn.apache.org/viewvc/couchdb/trunk/licence.skip?rev=794030&view=auto
==============================================================================
--- couchdb/trunk/licence.skip (added)
+++ couchdb/trunk/licence.skip Tue Jul 14 19:36:12 2009
@@ -0,0 +1,50 @@
+aclocal.m4
+AUTHORS
+autom4te.cache/*
+bin/couchdb.1
+bin/couchjs.1
+BUGS
+build-aux/*
+CHANGES
+check.except
+config.*
+configure
+etc/couchdb/default*
+etc/couchdb/local*
+etc/default/couchdb
+etc/launchd/org.apache.couchdb.plist.*
+etc/logrotate.d/couchdb*
+libtool
+m4/ac_check_curl.m4*
+m4/ac_check_icu.m4*
+Makefile
+Makefile.in
+NEWS
+NOTICE
+README
+share/Makefile
+share/Makefile.in
+share/www/favicon.ico
+share/www/image/*
+share/www/script/jquery.*
+share/www/script/json2.js
+share/www/script/test/lorem.txt
+src/couchdb/*.beam
+src/couchdb/couch.app.tpl.in
+src/couchdb/.deps/*
+src/couchdb/.libs/*
+src/couchdb/Makefile
+src/couchdb/Makefile.in
+src/couchdb/*.o
+src/ibrowse/*
+src/mochiweb/*
+stamp-h1
+test/etap/081-config-override.1.ini
+test/etap/081-config-override.2.ini
+test/Makefile
+test/Makefile.in
+THANKS
+utils/Makefile
+utils/Makefile.in
+var/Makefile
+var/Makefile.in
Modified: couchdb/trunk/share/www/_sidebar.html
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/_sidebar.html?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/share/www/_sidebar.html (original)
+++ couchdb/trunk/share/www/_sidebar.html Tue Jul 14 19:36:12 2009
@@ -1,3 +1,17 @@
+<!--
+
+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.
+
+-->
<div id="sidebar">
<a href="index.html">
<img id="logo" src="image/logo.png" width="175" height="150" alt="Apache CouchDB: Relax">
Modified: couchdb/trunk/share/www/index.html
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/index.html?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/share/www/index.html [utf-8] (original)
+++ couchdb/trunk/share/www/index.html [utf-8] Tue Jul 14 19:36:12 2009
@@ -2,14 +2,14 @@
<!--
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
+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
+CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
-->
Modified: couchdb/trunk/src/couchdb/couch_db.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_db.erl?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_db.erl (original)
+++ couchdb/trunk/src/couchdb/couch_db.erl Tue Jul 14 19:36:12 2009
@@ -1,12 +1,12 @@
% 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
+% 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
+% WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
% License for the specific language governing permissions and limitations under
% the License.
Modified: couchdb/trunk/test/couch_config_test.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/couch_config_test.erl?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/couch_config_test.erl (original)
+++ couchdb/trunk/test/couch_config_test.erl Tue Jul 14 19:36:12 2009
@@ -1,4 +1,16 @@
-% couch_config module test suote
+% 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.
+
+% couch_config module test suite
% Set up test suite
% ?MODULE_test() returns a list of functions
@@ -8,7 +20,6 @@
fun() -> store_strings() end
].
-
% test functions
store_strings() ->
@@ -30,4 +41,4 @@
% clean up
file:delete(Filename),
- Value = Result.
\ No newline at end of file
+ Value = Result.
Modified: couchdb/trunk/test/couch_config_writer_test.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/couch_config_writer_test.erl?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/couch_config_writer_test.erl (original)
+++ couchdb/trunk/test/couch_config_writer_test.erl Tue Jul 14 19:36:12 2009
@@ -1,3 +1,15 @@
+% 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.
+
% couch_config_writer module test suote
% Set up test suite
Modified: couchdb/trunk/test/etap/001-load.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/001-load.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/001-load.t (original)
+++ couchdb/trunk/test/etap/001-load.t Tue Jul 14 19:36:12 2009
@@ -2,6 +2,18 @@
%% -*- erlang -*-
%%! -pa src/couchdb -sasl errlog_type error -boot start_sasl -noshell
+% 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 that we can load each module.
main(_) ->
Modified: couchdb/trunk/test/etap/010-file-basics.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/010-file-basics.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/010-file-basics.t (original)
+++ couchdb/trunk/test/etap/010-file-basics.t Tue Jul 14 19:36:12 2009
@@ -2,6 +2,18 @@
%% -*- erlang -*-
%%! -pa ./src/couchdb -sasl errlog_type error -boot start_sasl -noshell
+% 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.
+
filename() -> "./test/etap/temp.010".
main(_) ->
Modified: couchdb/trunk/test/etap/011-file-headers.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/011-file-headers.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/011-file-headers.t (original)
+++ couchdb/trunk/test/etap/011-file-headers.t Tue Jul 14 19:36:12 2009
@@ -2,6 +2,18 @@
%% -*- erlang -*-
%%! -pa ./src/couchdb -sasl errlog_type error -boot start_sasl -noshell
+% 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.
+
filename() -> "./test/etap/temp.011".
sizeblock() -> 4096. % Need to keep this in sync with couch_file.erl
Modified: couchdb/trunk/test/etap/020-btree-basics.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/020-btree-basics.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/020-btree-basics.t (original)
+++ couchdb/trunk/test/etap/020-btree-basics.t Tue Jul 14 19:36:12 2009
@@ -2,6 +2,18 @@
%% -*- erlang -*-
%%! -pa ./src/couchdb -sasl errlog_type error -boot start_sasl -noshell
+% 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.
+
filename() -> "./test/etap/temp.020".
rows() -> 250.
Modified: couchdb/trunk/test/etap/021-btree-reductions.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/021-btree-reductions.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/021-btree-reductions.t (original)
+++ couchdb/trunk/test/etap/021-btree-reductions.t Tue Jul 14 19:36:12 2009
@@ -2,6 +2,18 @@
%% -*- erlang -*-
%%! -pa ./src/couchdb -sasl errlog_type error -boot start_sasl -noshell
+% 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.
+
filename() -> "./test/etap/temp.021".
rows() -> 1000.
Modified: couchdb/trunk/test/etap/030-doc-from-json.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/030-doc-from-json.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/030-doc-from-json.t (original)
+++ couchdb/trunk/test/etap/030-doc-from-json.t Tue Jul 14 19:36:12 2009
@@ -2,6 +2,17 @@
%% -*- erlang -*-
%%! -pa ./src/couchdb -pa ./src/mochiweb -sasl errlog_type false -noshell
+% 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.
%% XXX: Figure out how to -include("couch_db.hrl")
-record(doc, {id= <<"">>, revs={0, []}, body={[]},
Modified: couchdb/trunk/test/etap/031-doc-to-json.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/031-doc-to-json.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/031-doc-to-json.t (original)
+++ couchdb/trunk/test/etap/031-doc-to-json.t Tue Jul 14 19:36:12 2009
@@ -2,6 +2,17 @@
%% -*- erlang -*-
%%! -pa ./src/couchdb -pa ./src/mochiweb -sasl errlog_type false -noshell
+% 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.
%% XXX: Figure out how to -include("couch_db.hrl")
-record(doc, {id= <<"">>, revs={0, []}, body={[]},
Modified: couchdb/trunk/test/etap/040-util.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/040-util.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/040-util.t (original)
+++ couchdb/trunk/test/etap/040-util.t Tue Jul 14 19:36:12 2009
@@ -1,6 +1,18 @@
#!/usr/bin/env escript
%% -*- erlang -*-
+% 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.
+
main(_) ->
code:add_pathz("src/couchdb"),
application:start(crypto),
@@ -26,13 +38,13 @@
% terminate_linked
Self = self(),
spawn(fun() ->
- ChildPid = spawn_link(fun() -> receive shutdown -> ok end end),
- couch_util:terminate_linked(normal),
- Self ! {pid, ChildPid}
- end),
+ ChildPid = spawn_link(fun() -> receive shutdown -> ok end end),
+ couch_util:terminate_linked(normal),
+ Self ! {pid, ChildPid}
+ end),
receive
{pid, Pid} ->
- etap:ok(not is_process_alive(Pid), "why wont this work?")
+ etap:ok(not is_process_alive(Pid), "why wont this work?")
end,
% new_uuid
Modified: couchdb/trunk/test/etap/050-stream.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/050-stream.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/050-stream.t (original)
+++ couchdb/trunk/test/etap/050-stream.t Tue Jul 14 19:36:12 2009
@@ -1,6 +1,18 @@
#!/usr/bin/env escript
%% -*- erlang -*-
+% 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.
+
main(_) ->
code:add_pathz("src/couchdb"),
etap:plan(13),
Modified: couchdb/trunk/test/etap/060-kt-merging.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/060-kt-merging.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/060-kt-merging.t (original)
+++ couchdb/trunk/test/etap/060-kt-merging.t Tue Jul 14 19:36:12 2009
@@ -1,6 +1,18 @@
#!/usr/bin/env escript
%% -*- erlang -*-
+% 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.
+
main(_) ->
code:add_pathz("src/couchdb"),
etap:plan(16),
Modified: couchdb/trunk/test/etap/061-kt-missing-leaves.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/061-kt-missing-leaves.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/061-kt-missing-leaves.t (original)
+++ couchdb/trunk/test/etap/061-kt-missing-leaves.t Tue Jul 14 19:36:12 2009
@@ -1,6 +1,18 @@
#!/usr/bin/env escript
%% -*- erlang -*-
+% 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.
+
main(_) ->
code:add_pathz("src/couchdb"),
etap:plan(4),
Modified: couchdb/trunk/test/etap/062-kt-remove-leaves.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/062-kt-remove-leaves.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/062-kt-remove-leaves.t (original)
+++ couchdb/trunk/test/etap/062-kt-remove-leaves.t Tue Jul 14 19:36:12 2009
@@ -1,6 +1,18 @@
#!/usr/bin/env escript
%% -*- erlang -*-
+% 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.
+
main(_) ->
code:add_pathz("src/couchdb"),
etap:plan(6),
Modified: couchdb/trunk/test/etap/063-kt-get-leaves.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/063-kt-get-leaves.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/063-kt-get-leaves.t (original)
+++ couchdb/trunk/test/etap/063-kt-get-leaves.t Tue Jul 14 19:36:12 2009
@@ -1,6 +1,18 @@
#!/usr/bin/env escript
%% -*- erlang -*-
+% 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.
+
main(_) ->
code:add_pathz("src/couchdb"),
etap:plan(11),
Modified: couchdb/trunk/test/etap/064-kt-counting.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/064-kt-counting.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/064-kt-counting.t (original)
+++ couchdb/trunk/test/etap/064-kt-counting.t Tue Jul 14 19:36:12 2009
@@ -1,6 +1,18 @@
#!/usr/bin/env escript
%% -*- erlang -*-
+% 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.
+
main(_) ->
code:add_pathz("src/couchdb"),
etap:plan(4),
Modified: couchdb/trunk/test/etap/065-kt-stemming.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/065-kt-stemming.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/065-kt-stemming.t (original)
+++ couchdb/trunk/test/etap/065-kt-stemming.t Tue Jul 14 19:36:12 2009
@@ -1,6 +1,18 @@
#!/usr/bin/env escript
%% -*- erlang -*-
+% 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.
+
main(_) ->
code:add_pathz("src/couchdb"),
etap:plan(3),
Modified: couchdb/trunk/test/etap/070-couch-db.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/070-couch-db.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/070-couch-db.t (original)
+++ couchdb/trunk/test/etap/070-couch-db.t Tue Jul 14 19:36:12 2009
@@ -1,6 +1,18 @@
#!/usr/bin/env escript
%% -*- erlang -*-
+% 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.
+
main(_) ->
code:add_pathz("src/couchdb"),
code:add_pathz("src/mochiweb"),
Modified: couchdb/trunk/test/etap/080-config-get-set.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/080-config-get-set.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/080-config-get-set.t (original)
+++ couchdb/trunk/test/etap/080-config-get-set.t Tue Jul 14 19:36:12 2009
@@ -1,6 +1,18 @@
#!/usr/bin/env escript
%% -*- erlang -*-
+% 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.
+
default_config() ->
"etc/couchdb/default_dev.ini".
Modified: couchdb/trunk/test/etap/081-config-override.2.ini
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/081-config-override.2.ini?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/081-config-override.2.ini (original)
+++ couchdb/trunk/test/etap/081-config-override.2.ini Tue Jul 14 19:36:12 2009
@@ -2,4 +2,4 @@
port = 80
[fizbang]
-unicode = normalized
\ No newline at end of file
+unicode = normalized
Modified: couchdb/trunk/test/etap/081-config-override.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/081-config-override.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/081-config-override.t (original)
+++ couchdb/trunk/test/etap/081-config-override.t Tue Jul 14 19:36:12 2009
@@ -1,6 +1,18 @@
#!/usr/bin/env escript
%% -*- erlang -*-
+% 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.
+
default_config() ->
"etc/couchdb/default_dev.ini".
Modified: couchdb/trunk/test/etap/082-config-register.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/082-config-register.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/082-config-register.t (original)
+++ couchdb/trunk/test/etap/082-config-register.t Tue Jul 14 19:36:12 2009
@@ -1,6 +1,18 @@
#!/usr/bin/env escript
%% -*- erlang -*-
+% 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.
+
default_config() ->
"etc/couchdb/default_dev.ini".
Modified: couchdb/trunk/test/etap/083-config-no-files.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/083-config-no-files.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/083-config-no-files.t (original)
+++ couchdb/trunk/test/etap/083-config-no-files.t Tue Jul 14 19:36:12 2009
@@ -1,6 +1,18 @@
#!/usr/bin/env escript
%% -*- erlang -*-
+% 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.
+
default_config() ->
"etc/couchdb/default_dev.ini".
Modified: couchdb/trunk/test/etap/090-task-status.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/090-task-status.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/090-task-status.t (original)
+++ couchdb/trunk/test/etap/090-task-status.t Tue Jul 14 19:36:12 2009
@@ -1,6 +1,18 @@
#!/usr/bin/env escript
%% -*- erlang -*-
+% 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.
+
main(_) ->
code:add_pathz("src/couchdb"),
etap:plan(16),
Modified: couchdb/trunk/test/etap/100-ref-counter.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/100-ref-counter.t?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/etap/100-ref-counter.t (original)
+++ couchdb/trunk/test/etap/100-ref-counter.t Tue Jul 14 19:36:12 2009
@@ -1,6 +1,18 @@
#!/usr/bin/env escript
%% -*- erlang -*-
+% 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.
+
main(_) ->
code:add_pathz("src/couchdb"),
etap:plan(8),
Modified: couchdb/trunk/test/runner.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/runner.erl?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/runner.erl (original)
+++ couchdb/trunk/test/runner.erl Tue Jul 14 19:36:12 2009
@@ -1,3 +1,15 @@
+% 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.
+
-module(runner).
-export([run/0]).
Modified: couchdb/trunk/test/runner.sh
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/runner.sh?rev=794030&r1=794029&r2=794030&view=diff
==============================================================================
--- couchdb/trunk/test/runner.sh (original)
+++ couchdb/trunk/test/runner.sh Tue Jul 14 19:36:12 2009
@@ -1,7 +1,23 @@
#!/bin/sh -e
+# 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.
+
erlc runner.erl
erl -noshell -pa ../src/couchdb -pa ../src/mochiweb -eval "runner:run()"
-cat ../share/www/script/couch.js ../share/www/script/couch_test_runner.js ../share/www/script/couch_tests.js ../share/www/script/test/* test.js | ../src/couchdb/couchjs -
+cat ../share/www/script/couch.js \
+ ../share/www/script/couch_test_runner.js \
+ ../share/www/script/couch_tests.js \
+ ../share/www/script/test/* test.js \
+ | ../src/couchdb/couchjs -