You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by rm...@apache.org on 2017/03/08 21:10:36 UTC

[1/2] incubator-trafodion git commit: Fix regression failures for privs1 and privs2

Repository: incubator-trafodion
Updated Branches:
  refs/heads/release2.1 4348ce699 -> b347946df


Fix regression failures for privs1 and privs2


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

Branch: refs/heads/release2.1
Commit: ba33ebb2fda6076d6eeb8510322eb135a4cbf253
Parents: 3eddda4
Author: Roberta Marton <rm...@edev07.esgyn.local>
Authored: Wed Mar 8 01:01:28 2017 +0000
Committer: Roberta Marton <rm...@edev07.esgyn.local>
Committed: Wed Mar 8 01:01:28 2017 +0000

----------------------------------------------------------------------
 core/sql/regress/tools/runregr_privs1.ksh | 10 ----------
 core/sql/regress/tools/runregr_privs2.ksh | 10 ----------
 2 files changed, 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/ba33ebb2/core/sql/regress/tools/runregr_privs1.ksh
----------------------------------------------------------------------
diff --git a/core/sql/regress/tools/runregr_privs1.ksh b/core/sql/regress/tools/runregr_privs1.ksh
index 0f3e4a0..b9bdebf 100755
--- a/core/sql/regress/tools/runregr_privs1.ksh
+++ b/core/sql/regress/tools/runregr_privs1.ksh
@@ -283,18 +283,8 @@ for ix in $testfiles; do
     efile=$REGRTSTDIR/$exp
   fi
 
-sqlci > $ix.tmp 2>&1 << eof
-env;
-eof
-authDisabled=`cat $ix.tmp | grep AUTHORIZATION | grep disabled`
-if [ "$authDisabled" = "" ]; then
-  echo "Authorization is enabled"
-else
-  echo "Authorization is not initialized, to initialize it"
   sqlci -i $scriptsdir/tools/reg_users.sql;
   echo "Authorization has been enabled"
-fi
-rm -f $ix.tmp 2>$NULL
 
   #--------------------------------------------------
   # Run test if the -diff option not specified     --

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/ba33ebb2/core/sql/regress/tools/runregr_privs2.ksh
----------------------------------------------------------------------
diff --git a/core/sql/regress/tools/runregr_privs2.ksh b/core/sql/regress/tools/runregr_privs2.ksh
index 320295b..36a9253 100755
--- a/core/sql/regress/tools/runregr_privs2.ksh
+++ b/core/sql/regress/tools/runregr_privs2.ksh
@@ -283,18 +283,8 @@ for ix in $testfiles; do
     efile=$REGRTSTDIR/$exp
   fi
 
-sqlci > $ix.tmp 2>&1 << eof
-env;
-eof
-authDisabled=`cat $ix.tmp | grep AUTHORIZATION | grep disabled`
-if [ "$authDisabled" = "" ]; then
-  echo "Authorization is enabled"
-else
-  echo "Authorization is not initialized, to initialize it"
   sqlci -i $scriptsdir/tools/reg_users.sql;
   echo "Authorization has been enabled"
-fi
-rm -f $ix.tmp 2>$NULL
 
   #--------------------------------------------------
   # Run test if the -diff option not specified     --


[2/2] incubator-trafodion git commit: Merge privs1 and privs2 regress fix pr 997

Posted by rm...@apache.org.
Merge privs1 and privs2 regress fix pr 997


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

Branch: refs/heads/release2.1
Commit: b347946df9603a2e91b78d1a08678a3873299247
Parents: 4348ce6 ba33ebb
Author: Roberta Marton <rm...@edev07.esgyn.local>
Authored: Wed Mar 8 21:05:27 2017 +0000
Committer: Roberta Marton <rm...@edev07.esgyn.local>
Committed: Wed Mar 8 21:05:27 2017 +0000

----------------------------------------------------------------------
 core/sql/regress/tools/runregr_privs1.ksh | 10 ----------
 core/sql/regress/tools/runregr_privs2.ksh | 10 ----------
 2 files changed, 20 deletions(-)
----------------------------------------------------------------------