You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2014/08/27 17:25:58 UTC

[1/2] git commit: TS-3048 Remove hard coded directory in TSPluginDirGet() regression.

Repository: trafficserver
Updated Branches:
  refs/heads/master a9eae7e37 -> 9e412b63f


TS-3048 Remove hard coded directory in TSPluginDirGet() regression.


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

Branch: refs/heads/master
Commit: ac2e200a438243b3f9b62f4f6f14cc9a49186b2b
Parents: a9eae7e
Author: Steven Feltner <st...@gmail.com>
Authored: Wed Aug 27 09:24:31 2014 -0600
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Wed Aug 27 09:24:31 2014 -0600

----------------------------------------------------------------------
 proxy/InkAPITest.cc | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ac2e200a/proxy/InkAPITest.cc
----------------------------------------------------------------------
diff --git a/proxy/InkAPITest.cc b/proxy/InkAPITest.cc
index dd778e7..1345979 100644
--- a/proxy/InkAPITest.cc
+++ b/proxy/InkAPITest.cc
@@ -159,13 +159,10 @@ REGRESSION_TEST(SDK_API_TSPluginDirGet) (RegressionTest * test, int /* atype ATS
     return;
   }
 
-  // Note: This doesn't have to be true
-  //      since the location can be anywhere
-  //      We only pass this test, with the default layout.
-  if (strstr(plugin_dir, "libexec/trafficserver") == NULL) {
+  if (strstr(plugin_dir, TS_BUILD_LIBEXECDIR) == NULL) {
     SDK_RPRINT(test, "TSPluginDirGet", "TestCase2", TC_FAIL,
-               "plugin dir(%s) is incorrect, expected (%s) in path. Are you using the default layout?",
-               plugin_dir,"libexec/trafficserver");
+               "plugin dir(%s) is incorrect, expected (%s) in path.",
+               plugin_dir, TS_BUILD_LIBEXECDIR);
     *pstatus = REGRESSION_TEST_FAILED;
     return;
   }


[2/2] git commit: Added TS-3048 to CHANGES>

Posted by zw...@apache.org.
Added TS-3048 to CHANGES>


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/9e412b63
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/9e412b63
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/9e412b63

Branch: refs/heads/master
Commit: 9e412b63fac80bc24016ed9d5b52783d321fec33
Parents: ac2e200
Author: Leif Hedstrom <zw...@apache.org>
Authored: Wed Aug 27 09:25:45 2014 -0600
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Wed Aug 27 09:25:45 2014 -0600

----------------------------------------------------------------------
 CHANGES | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/9e412b63/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 5f64018..c7d74be 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 5.2.0
 
+  *) [TS-3048]: Remove hard coded directory in TSPluginDirGet() regression.
+   Author: Steven Feltner <st...@gmail.com>
+
   *) [TS-3047] The Makefile.am for traffic_top is inconsistent with the rest
    of the build system.