Author: rvs
Date: Mon Oct 31 23:57:25 2011
New Revision: 1195724
URL: http://svn.apache.org/viewvc?rev=1195724&view=rev
Log:
BIGTOP-216. make oozie tests more robust in finding oozie-examples.tar.gz
Modified:
incubator/bigtop/trunk/bigtop-tests/test-artifacts/oozie/src/main/groovy/org/apache/bigtop/itest/ooziesmoke/TestOozieSmoke.groovy
Modified:
incubator/bigtop/trunk/bigtop-tests/test-artifacts/oozie/src/main/groovy/org/apache/bigtop/itest/ooziesmoke/TestOozieSmoke.groovy
URL:
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-tests/test-artifacts/oozie/src/main/groovy/org/apache/bigtop/itest/ooziesmoke/TestOozieSmoke.groovy?rev=1195724&r1=1195723&r2=1195724&view=diff
==============================================================================
---
incubator/bigtop/trunk/bigtop-tests/test-artifacts/oozie/src/main/groovy/org/apache/bigtop/itest/ooziesmoke/TestOozieSmoke.groovy
(original)
+++
incubator/bigtop/trunk/bigtop-tests/test-artifacts/oozie/src/main/groovy/org/apache/bigtop/itest/ooziesmoke/TestOozieSmoke.groovy
Mon Oct 31 23:57:25 2011
@@ -45,9 +45,9 @@ class TestOozieSmoke {
namenode = System.getProperty("org.apache.bigtop.itest.namenode",
"${conf.get('fs.default.name')}");
oozie_tar_home =
System.getProperty("org.apache.bigtop.itest.oozie_tar_home",
- (new
File("/usr/share/doc/oozie/")).exists() ?
- "/usr/share/doc/oozie/" :
- "/usr/share/doc/packages/oozie/");
+ (new
File("/usr/share/doc/packages/oozie/")).exists() ?
+ "/usr/share/doc/packages/oozie/" :
+ "/usr/share/doc/oozie*/");
sh.exec("mkdir /tmp/${tmp_dir}",
"cd /tmp/${tmp_dir}",