Changeset 28018

Show
Ignore:
Timestamp:
09.08.2013 13:30:35 (6 years ago)
Author:
jmt12
Message:

Try really hard to capture the output from 'time' function as Medusa lets this through to STDOUT somehow

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/parallel-building/trunk/src/bin/script/replication_tests.pl

    r28017 r28018  
    111111  # where logs get written 
    112112  print STDOUT "   - ingest using Hadoop\n"; 
    113   my $import_cmd = 'time -p hadoop_import.pl "' . $collection . '" -logdir "' . $test_dir . '/' . $timestamp . '" 2>&1'; 
     113  my $import_cmd = '(time -p hadoop_import.pl "' . $collection . '" -logdir "' . $test_dir . '/' . $timestamp . '" 2>&1) 2>&1'; 
    114114  print STDOUT '[DEBUG] command: |' . $import_cmd . "|\n" unless !$debug; 
    115115  if ($dry_run)