Author: olga
Date: Tue Apr 29 13:28:30 2008
New Revision: 652089

URL: http://svn.apache.org/viewvc?rev=652089&view=rev
Log:
PIG-222: fix build break

Modified:
    incubator/pig/trunk/CHANGES.txt
    incubator/pig/trunk/test/org/apache/pig/test/TestParamSubPreproc.java

Modified: incubator/pig/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/incubator/pig/trunk/CHANGES.txt?rev=652089&r1=652088&r2=652089&view=diff
==============================================================================
--- incubator/pig/trunk/CHANGES.txt (original)
+++ incubator/pig/trunk/CHANGES.txt Tue Apr 29 13:28:30 2008
@@ -255,3 +255,5 @@
     PIG-220: Fixed definition of parameter name for param substitution
 
     PIG-151: fixes to code that handles bzip files
+
+    PIG-222: fix build break

Modified: incubator/pig/trunk/test/org/apache/pig/test/TestParamSubPreproc.java
URL: 
http://svn.apache.org/viewvc/incubator/pig/trunk/test/org/apache/pig/test/TestParamSubPreproc.java?rev=652089&r1=652088&r2=652089&view=diff
==============================================================================
--- incubator/pig/trunk/test/org/apache/pig/test/TestParamSubPreproc.java 
(original)
+++ incubator/pig/trunk/test/org/apache/pig/test/TestParamSubPreproc.java Tue 
Apr 29 13:28:30 2008
@@ -1196,7 +1196,7 @@
             pigIStream = new BufferedReader(new FileReader(basedir + 
"/input1.pig"));
             pigOStream = new FileWriter(basedir + "/output1.pig");
 
-            String[] arg = {"date=`/usr/local/bin/perl -e 'print 
\"20080228\n20070101\"' | head -n 1`"};
+            String[] arg = {"date=`perl -e 'print \"20080228\n20070101\"' | 
head -n 1`"};
             String[] argFiles = null;
             ps.genSubstitutedFile(pigIStream , pigOStream , arg , argFiles);
 
@@ -1235,8 +1235,8 @@
 
     }
 
-    /* Test case 31   
-     * Use of inline command
+    /* Test case 32   
+     * No substitution
      */
     @Test
     public void testNoVars() throws Exception{


Reply via email to