Changeset 35 for trunk/test/tree.cc


Ignore:
Timestamp:
Jan 12, 2006, 5:12:14 PM (16 years ago)
Author:
Jari Häkkinen
Message:

Continued fixing gnuplot.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/tree.cc

    r33 r35  
    44
    55#include <string>
    6 #include <iostream>
     6#include <unistd.h>
    77
    88int main(const int argc,const char* argv[])
     
    1212  bool ok = true;
    1313
    14   system("ln -fns . testrepo");
     14  system("ln -fns .. testrepo");
    1515  Directory tree(std::string("testrepo"));
    1616
    1717  tree.purge();
    1818  tree.parse();
     19
    1920  ok = ok && !system("mkdir -p svnstat_output");
    20   tree.print("svnstat_output/");
     21  Stats::gnuplot_pipe_.command("cd 'svnstat_output'");
     22  chdir("svnstat_output");
     23  tree.print("./");
    2124 
    2225  return (ok ? 0 : -1);
Note: See TracChangeset for help on using the changeset viewer.