Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added licence check, and licence.skip

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794030 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 69d1f1d09a68243b4d0ce6e4db869d6b9758c537 1 parent d8dee3b
Noah Slater nslater authored
Showing with 398 additions and 16 deletions.
  1. +5 −0 Makefile.am
  2. +2 −2 bin/couchdb.tpl.in
  3. +50 −0 licence.skip
  4. +14 −0 share/www/_sidebar.html
  5. +2 −2 share/www/index.html
  6. +2 −2 src/couchdb/couch_db.erl
  7. +14 −3 test/couch_config_test.erl
  8. +12 −0 test/couch_config_writer_test.erl
  9. +12 −0 test/etap/001-load.t
  10. +12 −0 test/etap/010-file-basics.t
  11. +12 −0 test/etap/011-file-headers.t
  12. +12 −0 test/etap/020-btree-basics.t
  13. +12 −0 test/etap/021-btree-reductions.t
  14. +11 −0 test/etap/030-doc-from-json.t
  15. +11 −0 test/etap/031-doc-to-json.t
  16. +17 −5 test/etap/040-util.t
  17. +12 −0 test/etap/050-stream.t
  18. +12 −0 test/etap/060-kt-merging.t
  19. +12 −0 test/etap/061-kt-missing-leaves.t
  20. +12 −0 test/etap/062-kt-remove-leaves.t
  21. +12 −0 test/etap/063-kt-get-leaves.t
  22. +12 −0 test/etap/064-kt-counting.t
  23. +12 −0 test/etap/065-kt-stemming.t
  24. +12 −0 test/etap/070-couch-db.t
  25. +12 −0 test/etap/080-config-get-set.t
  26. +1 −1  test/etap/081-config-override.2.ini
  27. +12 −0 test/etap/081-config-override.t
  28. +12 −0 test/etap/082-config-register.t
  29. +12 −0 test/etap/083-config-no-files.t
  30. +12 −0 test/etap/090-task-status.t
  31. +12 −0 test/etap/100-ref-counter.t
  32. +12 −0 test/runner.erl
  33. +17 −1 test/runner.sh
5 Makefile.am
View
@@ -69,6 +69,11 @@ local-clean: maintainer-clean
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 \
4 bin/couchdb.tpl.in
View
@@ -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.
50 licence.skip
View
@@ -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
14 share/www/_sidebar.html
View
@@ -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">
4 share/www/index.html
View
@@ -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.
-->
4 src/couchdb/couch_db.erl
View
@@ -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.
17 test/couch_config_test.erl
View
@@ -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 @@ couch_config_test() ->
fun() -> store_strings() end
].
-
% test functions
store_strings() ->
@@ -30,4 +41,4 @@ store_strings() ->
% clean up
file:delete(Filename),
- Value = Result.
+ Value = Result.
12 test/couch_config_writer_test.erl
View
@@ -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
12 test/etap/001-load.t
View
@@ -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(_) ->
12 test/etap/010-file-basics.t
View
@@ -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(_) ->
12 test/etap/011-file-headers.t
View
@@ -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
12 test/etap/020-btree-basics.t
View
@@ -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.
12 test/etap/021-btree-reductions.t
View
@@ -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.
11 test/etap/030-doc-from-json.t
View
@@ -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={[]},
11 test/etap/031-doc-to-json.t
View
@@ -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={[]},
22 test/etap/040-util.t
View
@@ -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 @@ test() ->
% 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
12 test/etap/050-stream.t
View
@@ -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),
12 test/etap/060-kt-merging.t
View
@@ -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),
12 test/etap/061-kt-missing-leaves.t
View
@@ -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),
12 test/etap/062-kt-remove-leaves.t
View
@@ -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),
12 test/etap/063-kt-get-leaves.t
View
@@ -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),
12 test/etap/064-kt-counting.t
View
@@ -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),
12 test/etap/065-kt-stemming.t
View
@@ -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),
12 test/etap/070-couch-db.t
View
@@ -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"),
12 test/etap/080-config-get-set.t
View
@@ -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".
2  test/etap/081-config-override.2.ini
View
@@ -2,4 +2,4 @@
port = 80
[fizbang]
-unicode = normalized
+unicode = normalized
12 test/etap/081-config-override.t
View
@@ -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".
12 test/etap/082-config-register.t
View
@@ -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".
12 test/etap/083-config-no-files.t
View
@@ -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".
12 test/etap/090-task-status.t
View
@@ -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),
12 test/etap/100-ref-counter.t
View
@@ -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),
12 test/runner.erl
View
@@ -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]).
18 test/runner.sh
View
@@ -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 -
Please sign in to comment.
Something went wrong with that request. Please try again.