Subject: | Fix for as_vcg.t test failures when disk io is very slow. |
Hello and thanks for Graph::Easy,
When I run the test as_vcg.t on a machine with very slow disk IO
the test:
is ($vcg, $vcg_file, 'as_vcg and as_vcg_file are equal');
sometimes fails. To fix it I changed the lines from:
28 # remove time stamp:
29 $vcg =~ s/ at \d{4}//;
30 $vcg_file =~ s/ at \d{4}//;
to:
28 # remove time stamp:
29 $vcg =~ s/ at .*//;
30 $vcg_file =~ s/ at .*//;
I did this because the time stamp was not being removed, the time
stamp looked like:
// Generated by Graph::Easy 0.59 at Wed Jan 9 10:18:56 2008
Thank you,
Peter (Stig) Edwards