Blame tachyon-0.4.0-defaults.patch

Timothy St. Clair 9bab34d
diff --git a/bin/tachyon b/bin/tachyon
Timothy St. Clair 2f748db
index 9122bcd..66cb2a2 100755
Timothy St. Clair 9bab34d
--- a/bin/tachyon
Timothy St. Clair 9bab34d
+++ b/bin/tachyon
Timothy St. Clair 9bab34d
@@ -1,7 +1,7 @@
Timothy St. Clair 9bab34d
 #!/usr/bin/env bash
Timothy St. Clair 9bab34d
 
Timothy St. Clair 9bab34d
 function printUsage {
Timothy St. Clair 9bab34d
-  echo "Usage: tachyon COMMAND "
Timothy St. Clair 9bab34d
+  echo "Usage: tachyon.sh COMMAND "
Timothy St. Clair 9bab34d
   echo "where COMMAND is one of:"
Timothy St. Clair 9bab34d
   echo -e "  format        \t Format Tachyon"
Timothy St. Clair 9bab34d
   echo -e "  tfs           \t Command line input for generic filesystem user client."
Timothy St. Clair 9bab34d
@@ -30,7 +30,7 @@ TACHYON_LIBEXEC_DIR=${TACHYON_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR}
Timothy St. Clair 9bab34d
 . $TACHYON_LIBEXEC_DIR/tachyon-config.sh
Timothy St. Clair 9bab34d
 
Timothy St. Clair 9bab34d
 function runTest {
Timothy St. Clair 9bab34d
-  Usage="Usage: tachyon runTest <Basic|BasicRawTable> <MUST_CACHE|TRY_CACHE|CACHE_THROUGH|THROUGH|ASYNC_THROUGH>"
Timothy St. Clair 9bab34d
+  Usage="Usage: tachyon.sh runTest <Basic|BasicRawTable> <MUST_CACHE|TRY_CACHE|CACHE_THROUGH|THROUGH|ASYNC_THROUGH>"
Timothy St. Clair 9bab34d
 
Timothy St. Clair 9bab34d
   if [ "$#" -ne 2 ]; then
Timothy St. Clair 9bab34d
     echo $Usage
Timothy St. Clair 9bab34d
@@ -43,15 +43,15 @@ function runTest {
Timothy St. Clair 9bab34d
   fi
Timothy St. Clair 9bab34d
 
Timothy St. Clair 9bab34d
   if [[ "$1" == "Basic" ]]; then
Timothy St. Clair 2f748db
-    $bin/tachyon tfs rm /BasicFile_$2
Timothy St. Clair 2f748db
+    $bin/tachyon.sh tfs rm /BasicFile_$2
Timothy St. Clair 2f748db
     $JAVA -cp $TACHYON_CONF_DIR/:$TACHYON_JAR tachyon.examples.BasicOperations tachyon://$MASTER_ADDRESS:19998 /BasicFile_$2 $2
Timothy St. Clair 9bab34d
     exit 0
Timothy St. Clair 9bab34d
   elif [[ "$1" == "BasicRawTable" ]]; then
Timothy St. Clair 2f748db
-    $bin/tachyon tfs rm /BasicRawTable_$2
Timothy St. Clair 2f748db
+    $bin/tachyon.sh tfs rm /BasicRawTable_$2
Timothy St. Clair 2f748db
     $JAVA -cp $TACHYON_CONF_DIR/:$TACHYON_JAR tachyon.examples.BasicRawTableOperations tachyon://$MASTER_ADDRESS:19998 /BasicRawTable_$2 $2
Timothy St. Clair 9bab34d
     exit 0
Timothy St. Clair 9bab34d
   elif [[ "$1" == "BasicCheckpoint" ]]; then
Timothy St. Clair 9bab34d
-    $bin/tachyon tfs rm /BasicCheckpoint
Timothy St. Clair 9bab34d
+    $bin/tachyon.sh tfs rm /BasicCheckpoint
Timothy St. Clair 2f748db
     $JAVA -cp $TACHYON_CONF_DIR/:$TACHYON_JAR tachyon.examples.BasicCheckpoint tachyon://$MASTER_ADDRESS:19998 /BasicCheckpoint 10
Timothy St. Clair 9bab34d
     exit 0
Timothy St. Clair 9bab34d
   fi
Timothy St. Clair 2f748db
@@ -126,10 +126,10 @@ elif [ "$COMMAND" == "runTests" ]; then
Timothy St. Clair 9bab34d
 
Timothy St. Clair 9bab34d
   for op in ${opArr[@]}
Timothy St. Clair 9bab34d
   do
Timothy St. Clair 9bab34d
-    echo $bin/tachyon runTest Basic $op
Timothy St. Clair 9bab34d
-    $bin/tachyon runTest Basic $op
Timothy St. Clair 9bab34d
-    echo $bin/tachyon runTest BasicRawTable $op
Timothy St. Clair 9bab34d
-    $bin/tachyon runTest BasicRawTable $op
Timothy St. Clair 9bab34d
+    echo $bin/tachyon.sh runTest Basic $op
Timothy St. Clair 9bab34d
+    $bin/tachyon.sh runTest Basic $op
Timothy St. Clair 9bab34d
+    echo $bin/tachyon.sh runTest BasicRawTable $op
Timothy St. Clair 9bab34d
+    $bin/tachyon.sh runTest BasicRawTable $op
Timothy St. Clair 9bab34d
   done
Timothy St. Clair 9bab34d
 
Timothy St. Clair 9bab34d
   exit 0