hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From esp...@apache.org
Subject [14/35] incubator-hawq git commit: HAWQ-1323. Add license header added to each source file in test directory
Date Sun, 19 Feb 2017 23:07:49 GMT
HAWQ-1323. Add license header added to each source file in test directory


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/492b1a78
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/492b1a78
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/492b1a78

Branch: refs/heads/2.1.0.0-incubating
Commit: 492b1a782351b8cf1701703773a6cacc6bd1a0cb
Parents: 9918443
Author: amyrazz44 <abai@pivotal.io>
Authored: Tue Feb 14 10:08:03 2017 +0800
Committer: amyrazz44 <abai@pivotal.io>
Committed: Tue Feb 14 16:18:46 2017 +0800

----------------------------------------------------------------------
 pom.xml                                         | 34 +++++++++++++++++++-
 src/test/amsd/testframe.h                       | 18 +++++++++++
 src/test/bench/create.sh                        | 18 +++++++++++
 src/test/bench/runwisc.sh                       | 18 +++++++++++
 src/test/bench/wholebench.sh                    | 18 +++++++++++
 src/test/examples/testlibpq.c                   | 18 +++++++++++
 src/test/examples/testlibpq2.c                  | 18 +++++++++++
 src/test/examples/testlibpq3.c                  | 18 +++++++++++
 src/test/examples/testlibpq4.c                  | 18 +++++++++++
 src/test/examples/testlo.c                      | 18 +++++++++++
 src/test/feature/ExternalSource/lib/function.c  | 18 +++++++++++
 .../feature/ExternalSource/test_errortbl.cpp    | 18 +++++++++++
 .../ExternalSource/test_external_oid.cpp        | 18 +++++++++++
 src/test/feature/ExternalSource/test_exttab.cpp | 18 +++++++++++
 .../feature/ManagementTool/test_hawq_register.h | 18 +++++++++++
 .../test_hawq_register_partition.cpp            | 18 +++++++++++
 .../test_hawq_register_rollback.cpp             | 18 +++++++++++
 .../test_hawq_register_usage1.cpp               | 18 +++++++++++
 .../test_hawq_register_usage2_case1.cpp         | 18 +++++++++++
 .../test_hawq_register_usage2_case2.cpp         | 18 +++++++++++
 .../PreparedStatement/TestPreparedStatement.cpp | 18 +++++++++++
 src/test/feature/UDF/TestUDF.cpp                | 18 +++++++++++
 src/test/feature/UDF/lib/function.c             | 18 +++++++++++
 src/test/feature/ao/TestAoSnappy.cpp            | 18 +++++++++++
 src/test/feature/catalog/test_alter_owner.cpp   | 18 +++++++++++
 src/test/feature/catalog/test_alter_table.cpp   | 18 +++++++++++
 src/test/feature/catalog/test_create_table.cpp  | 18 +++++++++++
 src/test/feature/catalog/test_guc.cpp           | 18 +++++++++++
 src/test/feature/catalog/test_type.cpp          | 18 +++++++++++
 src/test/feature/ddl/test_database.cpp          | 18 +++++++++++
 src/test/feature/lib/command.cpp                | 18 +++++++++++
 src/test/feature/lib/command.h                  | 18 +++++++++++
 src/test/feature/lib/data_gen.cpp               | 18 +++++++++++
 src/test/feature/lib/data_gen.h                 | 18 +++++++++++
 src/test/feature/lib/file_replace.cpp           | 18 +++++++++++
 src/test/feature/lib/file_replace.h             | 18 +++++++++++
 src/test/feature/lib/hawq_config.cpp            | 18 +++++++++++
 src/test/feature/lib/hawq_config.h              | 18 +++++++++++
 src/test/feature/lib/hawq_scp.cpp               | 18 +++++++++++
 src/test/feature/lib/hawq_scp.h                 | 18 +++++++++++
 src/test/feature/lib/hdfs_config.cpp            | 18 +++++++++++
 src/test/feature/lib/hdfs_config.h              | 18 +++++++++++
 src/test/feature/lib/psql.cpp                   | 18 +++++++++++
 src/test/feature/lib/psql.h                     | 18 +++++++++++
 src/test/feature/lib/sql_util.cpp               | 18 +++++++++++
 src/test/feature/lib/sql_util.h                 | 18 +++++++++++
 src/test/feature/lib/string_util.cpp            | 18 +++++++++++
 src/test/feature/lib/string_util.h              | 18 +++++++++++
 src/test/feature/lib/xml_parser.cpp             | 18 +++++++++++
 src/test/feature/lib/xml_parser.h               | 18 +++++++++++
 src/test/feature/lib/yarn_config.cpp            | 18 +++++++++++
 src/test/feature/lib/yarn_config.h              | 18 +++++++++++
 src/test/feature/parallel-run-feature-test.sh   | 20 +++++++++++-
 src/test/feature/parquet/test_parquet.cpp       | 18 +++++++++++
 src/test/feature/partition/test_partition.cpp   | 18 +++++++++++
 src/test/feature/planner/test_subplan.cpp       | 18 +++++++++++
 src/test/feature/query/test_aggregate.cpp       | 18 +++++++++++
 .../query/test_create_type_composite.cpp        | 18 +++++++++++
 src/test/feature/query/test_gp_dist_random.cpp  | 18 +++++++++++
 .../feature/query/test_information_schema.cpp   | 18 +++++++++++
 src/test/feature/query/test_insert.cpp          | 18 +++++++++++
 .../feature/query/test_nested_case_null.cpp     | 18 +++++++++++
 src/test/feature/query/test_parser.cpp          | 18 +++++++++++
 src/test/feature/query/test_polymorphism.cpp    | 18 +++++++++++
 src/test/feature/query/test_portal.cpp          | 18 +++++++++++
 src/test/feature/query/test_prepare.cpp         | 18 +++++++++++
 src/test/feature/query/test_rowtypes.cpp        | 18 +++++++++++
 src/test/feature/query/test_sequence.cpp        | 18 +++++++++++
 src/test/feature/query/test_temp.cpp            | 18 +++++++++++
 src/test/feature/regex/test_regex.cpp           | 18 +++++++++++
 src/test/feature/test_main.cpp                  | 18 +++++++++++
 src/test/feature/testlib/test_lib.cpp           | 18 +++++++++++
 src/test/feature/toast/TestToast.cpp            | 18 +++++++++++
 .../feature/transactions/test_transactions.cpp  | 18 +++++++++++
 src/test/feature/utility/test_cmd.cpp           | 18 +++++++++++
 src/test/feature/utility/test_copy.cpp          | 18 +++++++++++
 src/test/libcdbtest/cdbexecplan.c               | 18 +++++++++++
 src/test/libcdbtest/cdbexecplan.h               | 18 +++++++++++
 src/test/libcdbtest/cdbheaptest.c               | 18 +++++++++++
 src/test/libcdbtest/cdbheaptest.h               | 18 +++++++++++
 src/test/libcdbtest/cdboid.c                    | 18 +++++++++++
 src/test/libcdbtest/cdboid.h                    | 18 +++++++++++
 src/test/libcdbtest/cdbshowalias.c              | 18 +++++++++++
 src/test/libcdbtest/cdbshowalias.h              | 18 +++++++++++
 src/test/libcdbtest/cdbtest.h                   | 18 +++++++++++
 src/test/libcdbtest/chunkfuncs.c                | 18 +++++++++++
 src/test/libcdbtest/hashapi_access.c            | 18 +++++++++++
 src/test/libcdbtest/mlapi_access.c              | 18 +++++++++++
 src/test/libcdbtest/mlipc_access.c              | 18 +++++++++++
 src/test/locale/sort-test.pl                    | 21 +++++++++++-
 src/test/locale/sort-test.py                    | 20 +++++++++++-
 src/test/locale/test-ctype.c                    | 18 +++++++++++
 src/test/mb/mbregress.sh                        | 20 +++++++++++-
 src/test/performance/runtests.pl                | 18 +++++++++++
 src/test/performance/start-pgsql.sh             | 18 +++++++++++
 src/test/regress/atmsort.pl                     | 18 +++++++++++
 src/test/regress/caqlinmem.c                    | 18 +++++++++++
 src/test/regress/caqltest.c                     | 18 +++++++++++
 src/test/regress/checkinc.py                    | 18 +++++++++++
 src/test/regress/dld.pl                         | 18 +++++++++++
 src/test/regress/explain.pl                     | 18 +++++++++++
 src/test/regress/get_ereport.pl                 | 18 +++++++++++
 src/test/regress/gpdiff.pl                      | 18 +++++++++++
 src/test/regress/gpexclude.pl                   | 18 +++++++++++
 src/test/regress/gpsourcify.pl                  | 18 +++++++++++
 src/test/regress/gpstringsubs.pl                | 18 +++++++++++
 src/test/regress/gptorment.pl                   | 18 +++++++++++
 src/test/regress/hcatalog_utils.c               | 18 +++++++++++
 src/test/regress/json_utils.c                   | 18 +++++++++++
 src/test/regress/maketestschedule.py            | 19 +++++++++++
 src/test/regress/partindex.c                    | 18 +++++++++++
 src/test/regress/pg_regress.c                   | 18 +++++++++++
 src/test/regress/pg_regress.h                   | 18 +++++++++++
 src/test/regress/pg_regress_main.c              | 18 +++++++++++
 src/test/regress/regress.c                      | 18 +++++++++++
 src/test/regress/regressplans.sh                | 20 +++++++++++-
 src/test/regress/upg2_wizard.pl                 | 18 +++++++++++
 src/test/thread/thread_test.c                   | 18 +++++++++++
 src/test/unit/cmockery/cmockery.c               | 18 +++++++++++
 src/test/unit/cmockery/cmockery.h               | 18 +++++++++++
 src/test/unit/find_mock_objs.py                 | 19 +++++++++++
 src/test/unit/mock/mocker.py                    | 18 +++++++++++
 src/test/unit/mock/special.py                   | 19 +++++++++++
 123 files changed, 2238 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index bdd2e75..23ff24e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -129,7 +129,39 @@
               <exclude>src/pl/**/*</exclude>
               <exclude>src/port/*</exclude>
               <exclude>src/template/*</exclude>
-              <exclude>src/test/**/*</exclude>
+              <exclude>src/test/**/*.in</exclude>
+              <exclude>src/test/**/*.mdp</exclude>
+              <exclude>src/test/feature/UDF/ans/function_basics.ans.orca</exclude>
+              <exclude>src/test/feature/UDF/ans/function_basics.ranger.ans.orca</exclude>
+              <exclude>src/test/feature/UDF/ans/function_basics.ans.planner</exclude>
+              <exclude>src/test/feature/UDF/ans/function_basics.ranger.ans.planner</exclude>
+              <exclude>src/test/**/*.paq</exclude>
+              <exclude>src/test/**/*paq</exclude>
+              <exclude>src/test/**/usage2case2/*</exclude>
+              <exclude>src/test/**/*.tbl</exclude>
+              <exclude>src/test/**/*.xml</exclude>
+              <exclude>src/test/**/*.yml</exclude>
+              <exclude>src/test/**/arch_config</exclude>
+              <exclude>src/test/regress/bkuprestore_schedule</exclude>
+              <exclude>src/test/regress/current_good_schedule.EXCLUDE</exclude>
+              <exclude>src/test/regress/goh_schedule</exclude>
+              <exclude>src/test/regress/makeschedule</exclude>
+              <exclude>src/test/performance/sqls/crtsimple</exclude>
+              <exclude>src/test/performance/sqls/crtsimpleidx</exclude>
+              <exclude>src/test/performance/sqls/drpsimple</exclude>
+              <exclude>src/test/performance/sqls/orbsimple</exclude>
+              <exclude>src/test/performance/sqls/slcsimple</exclude>
+              <exclude>src/test/**/Makefile</exclude>
+              <exclude>src/test/performance/results/PgSQL.970926</exclude>
+              <exclude>src/test/performance/sqls/connection</exclude>
+              <exclude>src/test/feature/doxygen_template</exclude>
+              <exclude>src/test/regress/expected_statuses</exclude>
+              <exclude>src/test/feature/lib/global_init_file</exclude>
+              <exclude>src/test/**/init_file</exclude>
+              <exclude>src/test/bench/query*</exclude>
+              <exclude>src/test/regress/resultmap</exclude>
+              <exclude>src/test/locale/**/runall</exclude>
+              <exclude>src/test/performance/sqls/vacuum</exclude>
               <exclude>src/timezone/**/*</exclude>
               <exclude>doc/src/sgml/fixrtf</exclude>
               <exclude>doc/**/*.sgml</exclude>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/amsd/testframe.h
----------------------------------------------------------------------
diff --git a/src/test/amsd/testframe.h b/src/test/amsd/testframe.h
index 16fcc9f..036f971 100644
--- a/src/test/amsd/testframe.h
+++ b/src/test/amsd/testframe.h
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * testframe.h

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/bench/create.sh
----------------------------------------------------------------------
diff --git a/src/test/bench/create.sh b/src/test/bench/create.sh
old mode 100755
new mode 100644
index 48b2e32..502523a
--- a/src/test/bench/create.sh
+++ b/src/test/bench/create.sh
@@ -1,4 +1,22 @@
 #!/bin/sh
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+#
 # $PostgreSQL: pgsql/src/test/bench/create.sh,v 1.6 2007/08/01 22:23:01 momjian Exp $
 # 
 if [ ! -d $1 ]; then

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/bench/runwisc.sh
----------------------------------------------------------------------
diff --git a/src/test/bench/runwisc.sh b/src/test/bench/runwisc.sh
old mode 100755
new mode 100644
index 0012958..79fbfbd
--- a/src/test/bench/runwisc.sh
+++ b/src/test/bench/runwisc.sh
@@ -1,4 +1,22 @@
 #!/bin/sh
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+#
 # $PostgreSQL: pgsql/src/test/bench/runwisc.sh,v 1.10 2007/08/19 01:41:25 adunstan Exp $
 
 if [ ! -d $1 ]; then

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/bench/wholebench.sh
----------------------------------------------------------------------
diff --git a/src/test/bench/wholebench.sh b/src/test/bench/wholebench.sh
old mode 100755
new mode 100644
index b684449..0a506aa
--- a/src/test/bench/wholebench.sh
+++ b/src/test/bench/wholebench.sh
@@ -1,4 +1,22 @@
 #!/bin/sh
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+#
 
 sh create.sh
 echo Running the benchmark....

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/examples/testlibpq.c
----------------------------------------------------------------------
diff --git a/src/test/examples/testlibpq.c b/src/test/examples/testlibpq.c
index eed7617..efc4cd1 100644
--- a/src/test/examples/testlibpq.c
+++ b/src/test/examples/testlibpq.c
@@ -1,4 +1,22 @@
 /*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
+/*
  * $PostgreSQL: pgsql/src/test/examples/testlibpq.c,v 1.18 2009/06/11 14:49:15 momjian Exp $
  *
  *

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/examples/testlibpq2.c
----------------------------------------------------------------------
diff --git a/src/test/examples/testlibpq2.c b/src/test/examples/testlibpq2.c
index 1b9e991..06638fa 100644
--- a/src/test/examples/testlibpq2.c
+++ b/src/test/examples/testlibpq2.c
@@ -1,4 +1,22 @@
 /*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
+/*
  * $PostgreSQL: pgsql/src/test/examples/testlibpq2.c,v 1.15 2009/06/11 14:49:15 momjian Exp $
  *
  *

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/examples/testlibpq3.c
----------------------------------------------------------------------
diff --git a/src/test/examples/testlibpq3.c b/src/test/examples/testlibpq3.c
index ef57380..786d993 100644
--- a/src/test/examples/testlibpq3.c
+++ b/src/test/examples/testlibpq3.c
@@ -1,4 +1,22 @@
 /*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
+/*
  * $PostgreSQL: pgsql/src/test/examples/testlibpq3.c,v 1.16 2009/06/11 14:49:15 momjian Exp $
  *
  *

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/examples/testlibpq4.c
----------------------------------------------------------------------
diff --git a/src/test/examples/testlibpq4.c b/src/test/examples/testlibpq4.c
index a2935e8..162eaee 100644
--- a/src/test/examples/testlibpq4.c
+++ b/src/test/examples/testlibpq4.c
@@ -1,4 +1,22 @@
 /*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
+/*
  * $PostgreSQL: pgsql/src/test/examples/testlibpq4.c,v 1.14 2009/06/11 14:49:15 momjian Exp $
  *
  *

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/examples/testlo.c
----------------------------------------------------------------------
diff --git a/src/test/examples/testlo.c b/src/test/examples/testlo.c
index 559c39c..668437c 100644
--- a/src/test/examples/testlo.c
+++ b/src/test/examples/testlo.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * testlo.c

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/ExternalSource/lib/function.c
----------------------------------------------------------------------
diff --git a/src/test/feature/ExternalSource/lib/function.c b/src/test/feature/ExternalSource/lib/function.c
index 4275edc..35cf561 100644
--- a/src/test/feature/ExternalSource/lib/function.c
+++ b/src/test/feature/ExternalSource/lib/function.c
@@ -1,4 +1,22 @@
 /*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
+/*
  * json_utils.c
  *
  *  Created on: Mar 5, 2015

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/ExternalSource/test_errortbl.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/ExternalSource/test_errortbl.cpp b/src/test/feature/ExternalSource/test_errortbl.cpp
index 8bd5f51..53a6dc0 100644
--- a/src/test/feature/ExternalSource/test_errortbl.cpp
+++ b/src/test/feature/ExternalSource/test_errortbl.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 "gtest/gtest.h"
 
 #include "lib/sql_util.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/ExternalSource/test_external_oid.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/ExternalSource/test_external_oid.cpp b/src/test/feature/ExternalSource/test_external_oid.cpp
index 3326514..a5526ae 100644
--- a/src/test/feature/ExternalSource/test_external_oid.cpp
+++ b/src/test/feature/ExternalSource/test_external_oid.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <string>
 #include <iostream>
 #include "gtest/gtest.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/ExternalSource/test_exttab.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/ExternalSource/test_exttab.cpp b/src/test/feature/ExternalSource/test_exttab.cpp
index d971912..9ca053a 100644
--- a/src/test/feature/ExternalSource/test_exttab.cpp
+++ b/src/test/feature/ExternalSource/test_exttab.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 "gtest/gtest.h"
 
 #include "lib/sql_util.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/ManagementTool/test_hawq_register.h
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/test_hawq_register.h b/src/test/feature/ManagementTool/test_hawq_register.h
index 252ceab..961723b 100644
--- a/src/test/feature/ManagementTool/test_hawq_register.h
+++ b/src/test/feature/ManagementTool/test_hawq_register.h
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
 #ifndef TEST_HAWQ_REGISTER_H
 #define TEST_HAWQ_REGISTER_H
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/ManagementTool/test_hawq_register_partition.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/test_hawq_register_partition.cpp b/src/test/feature/ManagementTool/test_hawq_register_partition.cpp
index 9551eca..40f76a7 100644
--- a/src/test/feature/ManagementTool/test_hawq_register_partition.cpp
+++ b/src/test/feature/ManagementTool/test_hawq_register_partition.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <string>
 
 #include "lib/command.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/ManagementTool/test_hawq_register_rollback.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/test_hawq_register_rollback.cpp b/src/test/feature/ManagementTool/test_hawq_register_rollback.cpp
index 110ca83..afaf0c9 100644
--- a/src/test/feature/ManagementTool/test_hawq_register_rollback.cpp
+++ b/src/test/feature/ManagementTool/test_hawq_register_rollback.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <string>
 
 #include "lib/command.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/ManagementTool/test_hawq_register_usage1.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/test_hawq_register_usage1.cpp b/src/test/feature/ManagementTool/test_hawq_register_usage1.cpp
index 66b9c49..4359fb7 100644
--- a/src/test/feature/ManagementTool/test_hawq_register_usage1.cpp
+++ b/src/test/feature/ManagementTool/test_hawq_register_usage1.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <vector>
 #include <string>
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/ManagementTool/test_hawq_register_usage2_case1.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/test_hawq_register_usage2_case1.cpp b/src/test/feature/ManagementTool/test_hawq_register_usage2_case1.cpp
index acaadd6..3623528 100644
--- a/src/test/feature/ManagementTool/test_hawq_register_usage2_case1.cpp
+++ b/src/test/feature/ManagementTool/test_hawq_register_usage2_case1.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <string>
 
 #include "lib/command.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/ManagementTool/test_hawq_register_usage2_case2.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/test_hawq_register_usage2_case2.cpp b/src/test/feature/ManagementTool/test_hawq_register_usage2_case2.cpp
index 1fb02ad..d0d5158 100644
--- a/src/test/feature/ManagementTool/test_hawq_register_usage2_case2.cpp
+++ b/src/test/feature/ManagementTool/test_hawq_register_usage2_case2.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <string>
 
 #include "lib/command.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/PreparedStatement/TestPreparedStatement.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/PreparedStatement/TestPreparedStatement.cpp b/src/test/feature/PreparedStatement/TestPreparedStatement.cpp
old mode 100755
new mode 100644
index a8684ca..6c1ed96
--- a/src/test/feature/PreparedStatement/TestPreparedStatement.cpp
+++ b/src/test/feature/PreparedStatement/TestPreparedStatement.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 "gtest/gtest.h"
 
 #include "lib/sql_util.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/UDF/TestUDF.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/UDF/TestUDF.cpp b/src/test/feature/UDF/TestUDF.cpp
old mode 100755
new mode 100644
index f79843b..57d9a6c
--- a/src/test/feature/UDF/TestUDF.cpp
+++ b/src/test/feature/UDF/TestUDF.cpp
@@ -16,6 +16,24 @@
  * limitations under the License.
  */
 
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 "gtest/gtest.h"
 
 #include "lib/command.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/UDF/lib/function.c
----------------------------------------------------------------------
diff --git a/src/test/feature/UDF/lib/function.c b/src/test/feature/UDF/lib/function.c
old mode 100755
new mode 100644
index b2d4b81..4978909
--- a/src/test/feature/UDF/lib/function.c
+++ b/src/test/feature/UDF/lib/function.c
@@ -16,6 +16,24 @@
  * limitations under the License.
  */
 
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 "postgres.h"
 #include "funcapi.h"
 #include "tablefuncapi.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/ao/TestAoSnappy.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/ao/TestAoSnappy.cpp b/src/test/feature/ao/TestAoSnappy.cpp
old mode 100755
new mode 100644
index 72044f7..5743457
--- a/src/test/feature/ao/TestAoSnappy.cpp
+++ b/src/test/feature/ao/TestAoSnappy.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 "gtest/gtest.h"
 
 #include "lib/sql_util.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/catalog/test_alter_owner.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/catalog/test_alter_owner.cpp b/src/test/feature/catalog/test_alter_owner.cpp
index 7e7fcc4..4e2c783 100644
--- a/src/test/feature/catalog/test_alter_owner.cpp
+++ b/src/test/feature/catalog/test_alter_owner.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <pwd.h>
 #include <sys/types.h>
 #include <unistd.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/catalog/test_alter_table.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/catalog/test_alter_table.cpp b/src/test/feature/catalog/test_alter_table.cpp
index d88cc2a..03a13dd 100644
--- a/src/test/feature/catalog/test_alter_table.cpp
+++ b/src/test/feature/catalog/test_alter_table.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <pwd.h>
 #include <sys/types.h>
 #include <unistd.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/catalog/test_create_table.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/catalog/test_create_table.cpp b/src/test/feature/catalog/test_create_table.cpp
index bac1ec4..9219748 100644
--- a/src/test/feature/catalog/test_create_table.cpp
+++ b/src/test/feature/catalog/test_create_table.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <pwd.h>
 #include <sys/types.h>
 #include <unistd.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/catalog/test_guc.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/catalog/test_guc.cpp b/src/test/feature/catalog/test_guc.cpp
index acf5476..8bb27b2 100644
--- a/src/test/feature/catalog/test_guc.cpp
+++ b/src/test/feature/catalog/test_guc.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 "gtest/gtest.h"
 
 #include "lib/sql_util.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/catalog/test_type.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/catalog/test_type.cpp b/src/test/feature/catalog/test_type.cpp
index 6706bec..4457b08 100644
--- a/src/test/feature/catalog/test_type.cpp
+++ b/src/test/feature/catalog/test_type.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 "gtest/gtest.h"
 
 #include "lib/sql_util.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/ddl/test_database.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/ddl/test_database.cpp b/src/test/feature/ddl/test_database.cpp
index 0aac5c9..36009a6 100644
--- a/src/test/feature/ddl/test_database.cpp
+++ b/src/test/feature/ddl/test_database.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 "gtest/gtest.h"
 
 #include "lib/sql_util.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/command.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/command.cpp b/src/test/feature/lib/command.cpp
index 7f5f34a..f0b8f2f 100644
--- a/src/test/feature/lib/command.cpp
+++ b/src/test/feature/lib/command.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <fstream>
 #include "command.h"
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/command.h
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/command.h b/src/test/feature/lib/command.h
index e0ae97f..185dc89 100644
--- a/src/test/feature/lib/command.h
+++ b/src/test/feature/lib/command.h
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
 #ifndef HAWQ_SRC_TEST_FEATURE_LIB_COMMAND_H_
 #define HAWQ_SRC_TEST_FEATURE_LIB_COMMAND_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/data_gen.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/data_gen.cpp b/src/test/feature/lib/data_gen.cpp
index b8fc444..e754249 100644
--- a/src/test/feature/lib/data_gen.cpp
+++ b/src/test/feature/lib/data_gen.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <string>
 #include "data_gen.h"
 using std::string;

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/data_gen.h
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/data_gen.h b/src/test/feature/lib/data_gen.h
index 8a0a352..718aad6 100644
--- a/src/test/feature/lib/data_gen.h
+++ b/src/test/feature/lib/data_gen.h
@@ -1,4 +1,22 @@
 /*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
+/*
  * data_gen.h
  *
  *  Created on: May 11, 2016

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/file_replace.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/file_replace.cpp b/src/test/feature/lib/file_replace.cpp
index f8685ac..d0aa0ef 100644
--- a/src/test/feature/lib/file_replace.cpp
+++ b/src/test/feature/lib/file_replace.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <iostream>
 #include <fstream>
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/file_replace.h
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/file_replace.h b/src/test/feature/lib/file_replace.h
index 47d4f92..db822eb 100644
--- a/src/test/feature/lib/file_replace.h
+++ b/src/test/feature/lib/file_replace.h
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
 #ifndef SRC_TEST_FEATURE_LIB_FILE_REPLACE_H_
 #define SRC_TEST_FEATURE_LIB_FILE_REPLACE_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/hawq_config.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/hawq_config.cpp b/src/test/feature/lib/hawq_config.cpp
index 94182f3..bf9de76 100644
--- a/src/test/feature/lib/hawq_config.cpp
+++ b/src/test/feature/lib/hawq_config.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <fstream>
 #include <string>
 #include <vector>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/hawq_config.h
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/hawq_config.h b/src/test/feature/lib/hawq_config.h
index 8094ad5..aa7c17e 100644
--- a/src/test/feature/lib/hawq_config.h
+++ b/src/test/feature/lib/hawq_config.h
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
 #ifndef HAWQ_SRC_TEST_FEATURE_LIB_HAWQ_CONFIG_H_
 #define HAWQ_SRC_TEST_FEATURE_LIB_HAWQ_CONFIG_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/hawq_scp.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/hawq_scp.cpp b/src/test/feature/lib/hawq_scp.cpp
index 8af4c60..b243f39 100644
--- a/src/test/feature/lib/hawq_scp.cpp
+++ b/src/test/feature/lib/hawq_scp.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 "command.h"
 #include "sql_util.h"
 #include "hawq_scp.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/hawq_scp.h
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/hawq_scp.h b/src/test/feature/lib/hawq_scp.h
index 5f3eed5..9b39763 100644
--- a/src/test/feature/lib/hawq_scp.h
+++ b/src/test/feature/lib/hawq_scp.h
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
 #ifndef SRC_TEST_FEATURE_LIB_HAWQ_SCP_H_
 #define SRC_TEST_FEATURE_LIB_HAWQ_SCP_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/hdfs_config.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/hdfs_config.cpp b/src/test/feature/lib/hdfs_config.cpp
index b09c2d4..43f30ea 100644
--- a/src/test/feature/lib/hdfs_config.cpp
+++ b/src/test/feature/lib/hdfs_config.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <fstream>
 #include <string>
 #include <vector>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/hdfs_config.h
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/hdfs_config.h b/src/test/feature/lib/hdfs_config.h
index c339c83..2a7fabd 100644
--- a/src/test/feature/lib/hdfs_config.h
+++ b/src/test/feature/lib/hdfs_config.h
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
 #ifndef HAWQ_SRC_TEST_FEATURE_LIB_HDFS_CONFIG_H_
 #define HAWQ_SRC_TEST_FEATURE_LIB_HDFS_CONFIG_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/psql.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/psql.cpp b/src/test/feature/lib/psql.cpp
index dd2ea79..b448198 100644
--- a/src/test/feature/lib/psql.cpp
+++ b/src/test/feature/lib/psql.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <unistd.h>
 #include "psql.h"
 #include "command.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/psql.h
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/psql.h b/src/test/feature/lib/psql.h
index f5de19c..7fe94c1 100644
--- a/src/test/feature/lib/psql.h
+++ b/src/test/feature/lib/psql.h
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
 #ifndef HAWQ_SRC_TEST_FEATURE_PSQL_H_
 #define HAWQ_SRC_TEST_FEATURE_PSQL_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/sql_util.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/sql_util.cpp b/src/test/feature/lib/sql_util.cpp
index 5f43313..a19abea 100644
--- a/src/test/feature/lib/sql_util.cpp
+++ b/src/test/feature/lib/sql_util.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <pwd.h>
 #include <sys/types.h>
 #include <unistd.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/sql_util.h
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/sql_util.h b/src/test/feature/lib/sql_util.h
index a49a912..03544a0 100644
--- a/src/test/feature/lib/sql_util.h
+++ b/src/test/feature/lib/sql_util.h
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
 #ifndef HAWQ_SRC_TEST_FEATURE_LIB_SQL_UTIL_H_
 #define HAWQ_SRC_TEST_FEATURE_LIB_SQL_UTIL_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/string_util.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/string_util.cpp b/src/test/feature/lib/string_util.cpp
index c26c0c8..3241f12 100644
--- a/src/test/feature/lib/string_util.cpp
+++ b/src/test/feature/lib/string_util.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <cassert>
 #include <vector>
 #include <string>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/string_util.h
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/string_util.h b/src/test/feature/lib/string_util.h
index 9a97b13..c42cc25 100644
--- a/src/test/feature/lib/string_util.h
+++ b/src/test/feature/lib/string_util.h
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
 #ifndef HAWQ_SRC_TEST_FEATURE_LIB_STRING_UTIL_H_
 #define HAWQ_SRC_TEST_FEATURE_LIB_STRING_UTIL_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/xml_parser.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/xml_parser.cpp b/src/test/feature/lib/xml_parser.cpp
index e9619e6..1a47edc 100644
--- a/src/test/feature/lib/xml_parser.cpp
+++ b/src/test/feature/lib/xml_parser.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <unistd.h>
 #include <cstring>
 #include <string>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/xml_parser.h
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/xml_parser.h b/src/test/feature/lib/xml_parser.h
index fa1a4b6..f7c5774 100644
--- a/src/test/feature/lib/xml_parser.h
+++ b/src/test/feature/lib/xml_parser.h
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
 #ifndef HAWQ_SRC_TEST_FEATURE_LIB_XML_PARSER_H_
 #define HAWQ_SRC_TEST_FEATURE_LIB_XML_PARSER_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/yarn_config.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/yarn_config.cpp b/src/test/feature/lib/yarn_config.cpp
index ea4d3f0..3498537 100644
--- a/src/test/feature/lib/yarn_config.cpp
+++ b/src/test/feature/lib/yarn_config.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <fstream>
 #include <string>
 #include <vector>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/lib/yarn_config.h
----------------------------------------------------------------------
diff --git a/src/test/feature/lib/yarn_config.h b/src/test/feature/lib/yarn_config.h
index 41fc09f..763b6b8 100644
--- a/src/test/feature/lib/yarn_config.h
+++ b/src/test/feature/lib/yarn_config.h
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
 #ifndef HAWQ_SRC_TEST_FEATURE_LIB_YARN_CONFIG_H_
 #define HAWQ_SRC_TEST_FEATURE_LIB_YARN_CONFIG_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/parallel-run-feature-test.sh
----------------------------------------------------------------------
diff --git a/src/test/feature/parallel-run-feature-test.sh b/src/test/feature/parallel-run-feature-test.sh
old mode 100755
new mode 100644
index 80fc9e9..8fd4001
--- a/src/test/feature/parallel-run-feature-test.sh
+++ b/src/test/feature/parallel-run-feature-test.sh
@@ -1,4 +1,22 @@
-#! /bin/bash
+#!/bin/sh
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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 [ x$GPHOME == 'x' ]; then
   echo "Please source greenplum_path.sh before running feature tests."

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/parquet/test_parquet.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/parquet/test_parquet.cpp b/src/test/feature/parquet/test_parquet.cpp
index df7024f..fbc6bc6 100644
--- a/src/test/feature/parquet/test_parquet.cpp
+++ b/src/test/feature/parquet/test_parquet.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 "gtest/gtest.h"
 
 #include "lib/data_gen.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/partition/test_partition.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/partition/test_partition.cpp b/src/test/feature/partition/test_partition.cpp
old mode 100755
new mode 100644
index 9c548c3..1e78fc6
--- a/src/test/feature/partition/test_partition.cpp
+++ b/src/test/feature/partition/test_partition.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 "gtest/gtest.h"
 
 #include "lib/sql_util.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/planner/test_subplan.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/planner/test_subplan.cpp b/src/test/feature/planner/test_subplan.cpp
index 192c10c..2f504d4 100644
--- a/src/test/feature/planner/test_subplan.cpp
+++ b/src/test/feature/planner/test_subplan.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 "gtest/gtest.h"
 
 #include "lib/sql_util.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/query/test_aggregate.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/query/test_aggregate.cpp b/src/test/feature/query/test_aggregate.cpp
index bc2828b..077c8e9 100644
--- a/src/test/feature/query/test_aggregate.cpp
+++ b/src/test/feature/query/test_aggregate.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 <pwd.h>
 #include <sys/types.h>
 #include <unistd.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/query/test_create_type_composite.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/query/test_create_type_composite.cpp b/src/test/feature/query/test_create_type_composite.cpp
index 5dd82dc..f1cc57b 100644
--- a/src/test/feature/query/test_create_type_composite.cpp
+++ b/src/test/feature/query/test_create_type_composite.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 "gtest/gtest.h"
 
 #include "lib/sql_util.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/query/test_gp_dist_random.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/query/test_gp_dist_random.cpp b/src/test/feature/query/test_gp_dist_random.cpp
index 476911d..03d145f 100644
--- a/src/test/feature/query/test_gp_dist_random.cpp
+++ b/src/test/feature/query/test_gp_dist_random.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 "gtest/gtest.h"
 
 #include "lib/sql_util.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/query/test_information_schema.cpp
----------------------------------------------------------------------
diff --git a/src/test/feature/query/test_information_schema.cpp b/src/test/feature/query/test_information_schema.cpp
index c41d119..db56cb2 100644
--- a/src/test/feature/query/test_information_schema.cpp
+++ b/src/test/feature/query/test_information_schema.cpp
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 "gtest/gtest.h"
 
 #include "lib/sql_util.h"



Mime
View raw message