Ignore:
Timestamp:
2013-08-09T13:30:35+12:00 (11 years ago)
Author:
jmt12
Message:

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

File:
1 edited

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)
Note: See TracChangeset for help on using the changeset viewer.