Repository: incubator-hawq Updated Branches: refs/heads/master 9918443b6 -> 492b1a782
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/query/test_insert.cpp ---------------------------------------------------------------------- diff --git a/src/test/feature/query/test_insert.cpp b/src/test/feature/query/test_insert.cpp index 1e05b9c..dc1e361 100644 --- a/src/test/feature/query/test_insert.cpp +++ b/src/test/feature/query/test_insert.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_nested_case_null.cpp ---------------------------------------------------------------------- diff --git a/src/test/feature/query/test_nested_case_null.cpp b/src/test/feature/query/test_nested_case_null.cpp index 3d5894f..5fd547f 100644 --- a/src/test/feature/query/test_nested_case_null.cpp +++ b/src/test/feature/query/test_nested_case_null.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_parser.cpp ---------------------------------------------------------------------- diff --git a/src/test/feature/query/test_parser.cpp b/src/test/feature/query/test_parser.cpp index c2aec26..597dbf1 100644 --- a/src/test/feature/query/test_parser.cpp +++ b/src/test/feature/query/test_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 <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_polymorphism.cpp ---------------------------------------------------------------------- diff --git a/src/test/feature/query/test_polymorphism.cpp b/src/test/feature/query/test_polymorphism.cpp index 42d5a6a..21bb663 100644 --- a/src/test/feature/query/test_polymorphism.cpp +++ b/src/test/feature/query/test_polymorphism.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_portal.cpp ---------------------------------------------------------------------- diff --git a/src/test/feature/query/test_portal.cpp b/src/test/feature/query/test_portal.cpp index 49697f0..ebf3c27 100644 --- a/src/test/feature/query/test_portal.cpp +++ b/src/test/feature/query/test_portal.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_prepare.cpp ---------------------------------------------------------------------- diff --git a/src/test/feature/query/test_prepare.cpp b/src/test/feature/query/test_prepare.cpp index 0905889..5e46b69 100644 --- a/src/test/feature/query/test_prepare.cpp +++ b/src/test/feature/query/test_prepare.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_rowtypes.cpp ---------------------------------------------------------------------- diff --git a/src/test/feature/query/test_rowtypes.cpp b/src/test/feature/query/test_rowtypes.cpp index 0b0c6fc..509a25b 100644 --- a/src/test/feature/query/test_rowtypes.cpp +++ b/src/test/feature/query/test_rowtypes.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_sequence.cpp ---------------------------------------------------------------------- diff --git a/src/test/feature/query/test_sequence.cpp b/src/test/feature/query/test_sequence.cpp index 36479c0..218fe4b 100644 --- a/src/test/feature/query/test_sequence.cpp +++ b/src/test/feature/query/test_sequence.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_temp.cpp ---------------------------------------------------------------------- diff --git a/src/test/feature/query/test_temp.cpp b/src/test/feature/query/test_temp.cpp index 0b64601..f7fe846 100644 --- a/src/test/feature/query/test_temp.cpp +++ b/src/test/feature/query/test_temp.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/regex/test_regex.cpp ---------------------------------------------------------------------- diff --git a/src/test/feature/regex/test_regex.cpp b/src/test/feature/regex/test_regex.cpp index 5b08357..b9bb172 100644 --- a/src/test/feature/regex/test_regex.cpp +++ b/src/test/feature/regex/test_regex.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/test_main.cpp ---------------------------------------------------------------------- diff --git a/src/test/feature/test_main.cpp b/src/test/feature/test_main.cpp old mode 100755 new mode 100644 index 443e2db..81c8afd --- a/src/test/feature/test_main.cpp +++ b/src/test/feature/test_main.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" int main(int argc, char** argv) { http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/feature/testlib/test_lib.cpp ---------------------------------------------------------------------- diff --git a/src/test/feature/testlib/test_lib.cpp b/src/test/feature/testlib/test_lib.cpp index 6c828f6..b49e35c 100644 --- a/src/test/feature/testlib/test_lib.cpp +++ b/src/test/feature/testlib/test_lib.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/toast/TestToast.cpp ---------------------------------------------------------------------- diff --git a/src/test/feature/toast/TestToast.cpp b/src/test/feature/toast/TestToast.cpp index 2cd826a..32b9fa3 100644 --- a/src/test/feature/toast/TestToast.cpp +++ b/src/test/feature/toast/TestToast.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/transactions/test_transactions.cpp ---------------------------------------------------------------------- diff --git a/src/test/feature/transactions/test_transactions.cpp b/src/test/feature/transactions/test_transactions.cpp index c3254da..8e4b9c8 100644 --- a/src/test/feature/transactions/test_transactions.cpp +++ b/src/test/feature/transactions/test_transactions.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/utility/test_cmd.cpp ---------------------------------------------------------------------- diff --git a/src/test/feature/utility/test_cmd.cpp b/src/test/feature/utility/test_cmd.cpp index 69c9cbd..581a263 100644 --- a/src/test/feature/utility/test_cmd.cpp +++ b/src/test/feature/utility/test_cmd.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/utility/test_copy.cpp ---------------------------------------------------------------------- diff --git a/src/test/feature/utility/test_copy.cpp b/src/test/feature/utility/test_copy.cpp index e534a56..7d395fd 100644 --- a/src/test/feature/utility/test_copy.cpp +++ b/src/test/feature/utility/test_copy.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/libcdbtest/cdbexecplan.c ---------------------------------------------------------------------- diff --git a/src/test/libcdbtest/cdbexecplan.c b/src/test/libcdbtest/cdbexecplan.c index 5ccd1d5..7b7e83e 100644 --- a/src/test/libcdbtest/cdbexecplan.c +++ b/src/test/libcdbtest/cdbexecplan.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. + */ + /*------------------------------------------------------------------------- * * mppexecplan.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/libcdbtest/cdbexecplan.h ---------------------------------------------------------------------- diff --git a/src/test/libcdbtest/cdbexecplan.h b/src/test/libcdbtest/cdbexecplan.h index acf2c62..bcacee2 100644 --- a/src/test/libcdbtest/cdbexecplan.h +++ b/src/test/libcdbtest/cdbexecplan.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. + */ + +/* * mppexecplan.h * * http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/libcdbtest/cdbheaptest.c ---------------------------------------------------------------------- diff --git a/src/test/libcdbtest/cdbheaptest.c b/src/test/libcdbtest/cdbheaptest.c index 176428e..01e449e 100644 --- a/src/test/libcdbtest/cdbheaptest.c +++ b/src/test/libcdbtest/cdbheaptest.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. + */ + /*------------------------------------------------------------------------- * * cdbheaptest.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/libcdbtest/cdbheaptest.h ---------------------------------------------------------------------- diff --git a/src/test/libcdbtest/cdbheaptest.h b/src/test/libcdbtest/cdbheaptest.h index 501e3e9..91cab24 100644 --- a/src/test/libcdbtest/cdbheaptest.h +++ b/src/test/libcdbtest/cdbheaptest.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. + */ + +/* * cdbheaptest.h * * http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/libcdbtest/cdboid.c ---------------------------------------------------------------------- diff --git a/src/test/libcdbtest/cdboid.c b/src/test/libcdbtest/cdboid.c index bb83849..ec27379 100644 --- a/src/test/libcdbtest/cdboid.c +++ b/src/test/libcdbtest/cdboid.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. + */ + /*------------------------------------------------------------------------- * * cdboid.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/libcdbtest/cdboid.h ---------------------------------------------------------------------- diff --git a/src/test/libcdbtest/cdboid.h b/src/test/libcdbtest/cdboid.h index 9548c29..ffaa48f 100644 --- a/src/test/libcdbtest/cdboid.h +++ b/src/test/libcdbtest/cdboid.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. + */ + +/* * cdboid.h * * http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/libcdbtest/cdbshowalias.c ---------------------------------------------------------------------- diff --git a/src/test/libcdbtest/cdbshowalias.c b/src/test/libcdbtest/cdbshowalias.c index 0da655c..7cf40c2 100644 --- a/src/test/libcdbtest/cdbshowalias.c +++ b/src/test/libcdbtest/cdbshowalias.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. + */ + /*------------------------------------------------------------------------- * * cdbshowalias.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/libcdbtest/cdbshowalias.h ---------------------------------------------------------------------- diff --git a/src/test/libcdbtest/cdbshowalias.h b/src/test/libcdbtest/cdbshowalias.h index 6489c60..720857c 100644 --- a/src/test/libcdbtest/cdbshowalias.h +++ b/src/test/libcdbtest/cdbshowalias.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. + */ + +/* * cdbshowalias.h * * http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/libcdbtest/cdbtest.h ---------------------------------------------------------------------- diff --git a/src/test/libcdbtest/cdbtest.h b/src/test/libcdbtest/cdbtest.h index 21bafe4..ff86dbf 100644 --- a/src/test/libcdbtest/cdbtest.h +++ b/src/test/libcdbtest/cdbtest.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. + */ + /*------------------------------------------------------------------------- * cdbtest.h * Declarations of functions in the cdbtest library. http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/libcdbtest/chunkfuncs.c ---------------------------------------------------------------------- diff --git a/src/test/libcdbtest/chunkfuncs.c b/src/test/libcdbtest/chunkfuncs.c index 244faca..b0a297e 100644 --- a/src/test/libcdbtest/chunkfuncs.c +++ b/src/test/libcdbtest/chunkfuncs.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. + */ + /*------------------------------------------------------------------------- * * chunkfuncs.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/libcdbtest/hashapi_access.c ---------------------------------------------------------------------- diff --git a/src/test/libcdbtest/hashapi_access.c b/src/test/libcdbtest/hashapi_access.c index cbb7ed4..ed2479f 100644 --- a/src/test/libcdbtest/hashapi_access.c +++ b/src/test/libcdbtest/hashapi_access.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. + */ + /*------------------------------------------------------------------------- * * hashapi_access.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/libcdbtest/mlapi_access.c ---------------------------------------------------------------------- diff --git a/src/test/libcdbtest/mlapi_access.c b/src/test/libcdbtest/mlapi_access.c index f3e03e3..122e6e7 100644 --- a/src/test/libcdbtest/mlapi_access.c +++ b/src/test/libcdbtest/mlapi_access.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. + */ + /*------------------------------------------------------------------------- * * mlapi_access.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/libcdbtest/mlipc_access.c ---------------------------------------------------------------------- diff --git a/src/test/libcdbtest/mlipc_access.c b/src/test/libcdbtest/mlipc_access.c index 69664b3..9214905 100644 --- a/src/test/libcdbtest/mlipc_access.c +++ b/src/test/libcdbtest/mlipc_access.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. + */ + /*------------------------------------------------------------------------- * * mlipc_access.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/locale/sort-test.pl ---------------------------------------------------------------------- diff --git a/src/test/locale/sort-test.pl b/src/test/locale/sort-test.pl old mode 100755 new mode 100644 index aedfa22..2455ece --- a/src/test/locale/sort-test.pl +++ b/src/test/locale/sort-test.pl @@ -1,4 +1,23 @@ -#! /usr/bin/perl +#!/usr/bin/perl +# +# 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. +# + use locale; open(INFILE, "<$ARGV[0]"); http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/locale/sort-test.py ---------------------------------------------------------------------- diff --git a/src/test/locale/sort-test.py b/src/test/locale/sort-test.py old mode 100755 new mode 100644 index 1dafced..a6858c0 --- a/src/test/locale/sort-test.py +++ b/src/test/locale/sort-test.py @@ -1,4 +1,22 @@ -#! /usr/bin/env python +#!/usr/bin/env python +# +# 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. +# import sys, string, locale locale.setlocale(locale.LC_ALL, "") http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/locale/test-ctype.c ---------------------------------------------------------------------- diff --git a/src/test/locale/test-ctype.c b/src/test/locale/test-ctype.c index 08b491e..77213ec 100644 --- a/src/test/locale/test-ctype.c +++ b/src/test/locale/test-ctype.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/locale/test-ctype.c,v 1.6 2009/06/11 14:49:15 momjian Exp $ */ http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/mb/mbregress.sh ---------------------------------------------------------------------- diff --git a/src/test/mb/mbregress.sh b/src/test/mb/mbregress.sh old mode 100755 new mode 100644 index 8a2aca6..c4b8f4a --- a/src/test/mb/mbregress.sh +++ b/src/test/mb/mbregress.sh @@ -1,4 +1,22 @@ -#! /bin/sh +#!/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/mb/mbregress.sh,v 1.10 2009/05/06 16:15:21 tgl Exp $ if echo '\c' | grep -s c >/dev/null 2>&1 http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/performance/runtests.pl ---------------------------------------------------------------------- diff --git a/src/test/performance/runtests.pl b/src/test/performance/runtests.pl old mode 100755 new mode 100644 index 1d0c53d..edae211 --- a/src/test/performance/runtests.pl +++ b/src/test/performance/runtests.pl @@ -1,5 +1,23 @@ #!/usr/bin/perl # +# 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. +# +# # Accepts one argument - DBMS name (pgsql, ...) and initializes # global variable $TestDBMS with this name. # http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/performance/start-pgsql.sh ---------------------------------------------------------------------- diff --git a/src/test/performance/start-pgsql.sh b/src/test/performance/start-pgsql.sh old mode 100755 new mode 100644 index 6da4c43..78cf667 --- a/src/test/performance/start-pgsql.sh +++ b/src/test/performance/start-pgsql.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. +# # Please choose amount of sort memory (-S XXX) as appropriate # for your system: more is better, but swapping breaks performance! http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/atmsort.pl ---------------------------------------------------------------------- diff --git a/src/test/regress/atmsort.pl b/src/test/regress/atmsort.pl old mode 100755 new mode 100644 index 3344ab4..cddf43a --- a/src/test/regress/atmsort.pl +++ b/src/test/regress/atmsort.pl @@ -17,6 +17,24 @@ # specific language governing permissions and 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. +# use Pod::Usage; use Getopt::Long; use Data::Dumper; http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/caqlinmem.c ---------------------------------------------------------------------- diff --git a/src/test/regress/caqlinmem.c b/src/test/regress/caqlinmem.c index 1857ef0..8244a89 100644 --- a/src/test/regress/caqlinmem.c +++ b/src/test/regress/caqlinmem.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. + */ + #include "postgres.h" #include "funcapi.h" #include "catalog/catquery.h" http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/caqltest.c ---------------------------------------------------------------------- diff --git a/src/test/regress/caqltest.c b/src/test/regress/caqltest.c index d7a9a86..01dac94 100644 --- a/src/test/regress/caqltest.c +++ b/src/test/regress/caqltest.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. + */ + #include "postgres.h" #include "miscadmin.h" http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/checkinc.py ---------------------------------------------------------------------- diff --git a/src/test/regress/checkinc.py b/src/test/regress/checkinc.py old mode 100755 new mode 100644 index bcdb513..5d8e4db --- a/src/test/regress/checkinc.py +++ b/src/test/regress/checkinc.py @@ -1,4 +1,22 @@ #!/usr/bin/env python +# +# 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. +# import sys, os, re, subprocess try: http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/dld.pl ---------------------------------------------------------------------- diff --git a/src/test/regress/dld.pl b/src/test/regress/dld.pl old mode 100755 new mode 100644 index be13199..45ff349 --- a/src/test/regress/dld.pl +++ b/src/test/regress/dld.pl @@ -17,6 +17,24 @@ # specific language governing permissions and 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. +# use Pod::Usage; use Getopt::Long; use Data::Dumper; http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/explain.pl ---------------------------------------------------------------------- diff --git a/src/test/regress/explain.pl b/src/test/regress/explain.pl old mode 100755 new mode 100644 index 8ef45eb..40a7e24 --- a/src/test/regress/explain.pl +++ b/src/test/regress/explain.pl @@ -17,6 +17,24 @@ # specific language governing permissions and 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. +# use Pod::Usage; use Getopt::Long; use Data::Dumper; http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/get_ereport.pl ---------------------------------------------------------------------- diff --git a/src/test/regress/get_ereport.pl b/src/test/regress/get_ereport.pl old mode 100755 new mode 100644 index b4ab51d..2c11187 --- a/src/test/regress/get_ereport.pl +++ b/src/test/regress/get_ereport.pl @@ -17,6 +17,24 @@ # specific language governing permissions and 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. +# use Pod::Usage; use Getopt::Long; use Data::Dumper; http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/gpdiff.pl ---------------------------------------------------------------------- diff --git a/src/test/regress/gpdiff.pl b/src/test/regress/gpdiff.pl old mode 100755 new mode 100644 index 1014b52..99e0063 --- a/src/test/regress/gpdiff.pl +++ b/src/test/regress/gpdiff.pl @@ -17,6 +17,24 @@ # specific language governing permissions and 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. +# use Pod::Usage; use strict; use warnings; http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/gpexclude.pl ---------------------------------------------------------------------- diff --git a/src/test/regress/gpexclude.pl b/src/test/regress/gpexclude.pl old mode 100755 new mode 100644 index 8d16b6b..48d7e4f --- a/src/test/regress/gpexclude.pl +++ b/src/test/regress/gpexclude.pl @@ -17,6 +17,24 @@ # specific language governing permissions and 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. +# use Pod::Usage; use Getopt::Long; use Data::Dumper; http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/gpsourcify.pl ---------------------------------------------------------------------- diff --git a/src/test/regress/gpsourcify.pl b/src/test/regress/gpsourcify.pl old mode 100755 new mode 100644 index 981b63b..f0a8b0d --- a/src/test/regress/gpsourcify.pl +++ b/src/test/regress/gpsourcify.pl @@ -17,6 +17,24 @@ # specific language governing permissions and 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. +# use Pod::Usage; use Getopt::Long; use strict; http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/gpstringsubs.pl ---------------------------------------------------------------------- diff --git a/src/test/regress/gpstringsubs.pl b/src/test/regress/gpstringsubs.pl old mode 100755 new mode 100644 index 4335da4..cd8b75d --- a/src/test/regress/gpstringsubs.pl +++ b/src/test/regress/gpstringsubs.pl @@ -17,6 +17,24 @@ # specific language governing permissions and 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. +# use Pod::Usage; use Getopt::Long; use strict; http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/gptorment.pl ---------------------------------------------------------------------- diff --git a/src/test/regress/gptorment.pl b/src/test/regress/gptorment.pl old mode 100755 new mode 100644 index 217220a..978d150 --- a/src/test/regress/gptorment.pl +++ b/src/test/regress/gptorment.pl @@ -17,6 +17,24 @@ # specific language governing permissions and 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. +# use Pod::Usage; use Getopt::Long; use Data::Dumper; http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/hcatalog_utils.c ---------------------------------------------------------------------- diff --git a/src/test/regress/hcatalog_utils.c b/src/test/regress/hcatalog_utils.c index 2daec6a..5b09048 100644 --- a/src/test/regress/hcatalog_utils.c +++ b/src/test/regress/hcatalog_utils.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. + */ + #include "postgres.h" #include "cdb/cdbvars.h" http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/json_utils.c ---------------------------------------------------------------------- diff --git a/src/test/regress/json_utils.c b/src/test/regress/json_utils.c index 0028447..e7db48f 100644 --- a/src/test/regress/json_utils.c +++ b/src/test/regress/json_utils.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/regress/maketestschedule.py ---------------------------------------------------------------------- diff --git a/src/test/regress/maketestschedule.py b/src/test/regress/maketestschedule.py old mode 100755 new mode 100644 index 1dc30d0..b946ab1 --- a/src/test/regress/maketestschedule.py +++ b/src/test/regress/maketestschedule.py @@ -1,5 +1,24 @@ #!/usr/bin/env python # +# 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. +# + +# # Given a set of tests on the command line (comma separated), builds a schedule and emits it to stdout # # Special tokens: http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/partindex.c ---------------------------------------------------------------------- diff --git a/src/test/regress/partindex.c b/src/test/regress/partindex.c index 2965b88..8609515 100644 --- a/src/test/regress/partindex.c +++ b/src/test/regress/partindex.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. + */ + #include "postgres.h" #include "funcapi.h" http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/pg_regress.c ---------------------------------------------------------------------- diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c index 42b607c..fcde5a3 100644 --- a/src/test/regress/pg_regress.c +++ b/src/test/regress/pg_regress.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. + */ + /*------------------------------------------------------------------------- * * pg_regress --- regression test driver http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/pg_regress.h ---------------------------------------------------------------------- diff --git a/src/test/regress/pg_regress.h b/src/test/regress/pg_regress.h index 94db0b4..6958ed3 100644 --- a/src/test/regress/pg_regress.h +++ b/src/test/regress/pg_regress.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. + */ + /*------------------------------------------------------------------------- * pg_regress.h --- regression test driver * http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/pg_regress_main.c ---------------------------------------------------------------------- diff --git a/src/test/regress/pg_regress_main.c b/src/test/regress/pg_regress_main.c index b3245b5..b72c37e 100644 --- a/src/test/regress/pg_regress_main.c +++ b/src/test/regress/pg_regress_main.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. + */ + /*------------------------------------------------------------------------- * * pg_regress_main --- regression test for the main backend http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/regress.c ---------------------------------------------------------------------- diff --git a/src/test/regress/regress.c b/src/test/regress/regress.c index ce41b6e..99ad874 100644 --- a/src/test/regress/regress.c +++ b/src/test/regress/regress.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/regress/regress.c,v 1.72 2009/01/07 13:44:37 tgl Exp $ */ http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/regressplans.sh ---------------------------------------------------------------------- diff --git a/src/test/regress/regressplans.sh b/src/test/regress/regressplans.sh old mode 100755 new mode 100644 index 67b54b6..cd9eb92 --- a/src/test/regress/regressplans.sh +++ b/src/test/regress/regressplans.sh @@ -1,4 +1,22 @@ -#! /bin/sh +#!/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. +# # This script runs the Postgres regression tests with all useful combinations # of the backend options that disable various query plan types. If the http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/regress/upg2_wizard.pl ---------------------------------------------------------------------- diff --git a/src/test/regress/upg2_wizard.pl b/src/test/regress/upg2_wizard.pl old mode 100755 new mode 100644 index 7be5cd5..51904a8 --- a/src/test/regress/upg2_wizard.pl +++ b/src/test/regress/upg2_wizard.pl @@ -1,5 +1,23 @@ #!/usr/bin/env perl # +# 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. +# +# # $Header$ # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/thread/thread_test.c ---------------------------------------------------------------------- diff --git a/src/test/thread/thread_test.c b/src/test/thread/thread_test.c index c7e96df..f3e75bf 100644 --- a/src/test/thread/thread_test.c +++ b/src/test/thread/thread_test.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. + */ + /*------------------------------------------------------------------------- * * test_thread_funcs.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/unit/cmockery/cmockery.c ---------------------------------------------------------------------- diff --git a/src/test/unit/cmockery/cmockery.c b/src/test/unit/cmockery/cmockery.c index 4ddbff1..6469520 100644 --- a/src/test/unit/cmockery/cmockery.c +++ b/src/test/unit/cmockery/cmockery.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. + */ + +/* * Copyright 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/unit/cmockery/cmockery.h ---------------------------------------------------------------------- diff --git a/src/test/unit/cmockery/cmockery.h b/src/test/unit/cmockery/cmockery.h old mode 100755 new mode 100644 index 3ccbd18..19e868c --- a/src/test/unit/cmockery/cmockery.h +++ b/src/test/unit/cmockery/cmockery.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. + */ + +/* * Copyright 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/unit/find_mock_objs.py ---------------------------------------------------------------------- diff --git a/src/test/unit/find_mock_objs.py b/src/test/unit/find_mock_objs.py index 97203b6..84fe0ba 100644 --- a/src/test/unit/find_mock_objs.py +++ b/src/test/unit/find_mock_objs.py @@ -1,3 +1,22 @@ +#!/usr/bin/env python +# +# 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. +# # Script to find mock object files for a given guts System under Test # # Outputs the mock object files ready for copying them to a Makefile http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/unit/mock/mocker.py ---------------------------------------------------------------------- diff --git a/src/test/unit/mock/mocker.py b/src/test/unit/mock/mocker.py old mode 100755 new mode 100644 index 667f662..b0285a7 --- a/src/test/unit/mock/mocker.py +++ b/src/test/unit/mock/mocker.py @@ -1,4 +1,22 @@ #!/usr/bin/env python +# +# 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. +# import logging import optparse http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/492b1a78/src/test/unit/mock/special.py ---------------------------------------------------------------------- diff --git a/src/test/unit/mock/special.py b/src/test/unit/mock/special.py index d9993e4..eea1b94 100644 --- a/src/test/unit/mock/special.py +++ b/src/test/unit/mock/special.py @@ -1,3 +1,22 @@ +#!/usr/bin/env python +# +# 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. +# class SpecialFuncs(object): @classmethod
