hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iw...@apache.org
Subject incubator-hawq git commit: HAWQ-905. add init file for temp table test case
Date Thu, 28 Jul 2016 05:39:06 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 9fac5349b -> 7eb7af36a


HAWQ-905. add init file for temp table test case


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

Branch: refs/heads/master
Commit: 7eb7af36a5eafcd4b1691c4ce849ea6360ef5dca
Parents: 9fac534
Author: ivan <iweng@pivotal.io>
Authored: Thu Jul 28 13:34:52 2016 +0800
Committer: ivan <iweng@pivotal.io>
Committed: Thu Jul 28 13:38:48 2016 +0800

----------------------------------------------------------------------
 src/test/feature/query/sql/init_file | 5 +++++
 src/test/feature/query/test_temp.cpp | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/7eb7af36/src/test/feature/query/sql/init_file
----------------------------------------------------------------------
diff --git a/src/test/feature/query/sql/init_file b/src/test/feature/query/sql/init_file
new file mode 100644
index 0000000..48c1804
--- /dev/null
+++ b/src/test/feature/query/sql/init_file
@@ -0,0 +1,5 @@
+-- start_matchignore
+m/You are now connected to database*/
+
+
+-- end_matchignore

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/7eb7af36/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 8f1497b..0b64601 100644
--- a/src/test/feature/query/test_temp.cpp
+++ b/src/test/feature/query/test_temp.cpp
@@ -15,5 +15,6 @@ TEST_F(TestTemp, BasicTest)
 {
 	hawq::test::SQLUtility util(hawq::test::MODE_DATABASE);
 	util.execSQLFile("query/sql/temp.sql",
-	                 "query/ans/temp.ans");
+	                 "query/ans/temp.ans",
+                     "query/sql/init_file");
 }


Mime
View raw message