Changeset 157

Show
Ignore:
Timestamp:
02/09/09 21:46:26 (10 months ago)
Author:
swistow
Message:

Fix typo

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/use-existing-dbh/t/scoreboard.t

    r134 r157  
    1010use TheSchwartz; 
    1111use File::Spec qw(); 
     12# create a tmp directory with a unique name.  This stops 
     13# us conflicting with any other runs of this process and means 
     14# we tidy up after ourselves 
     15my $tempdir = tempdir( CLEANUP => 1 ); 
    1216 
    1317run_tests(10, sub { 
     
    1721    setup_dbs({prefix => $pfx}, $dbs); 
    1822 
    19     my $client = TheSchwartz->new(scoreboard => '/tmp', 
     23    my $client = TheSchwartz->new(scoreboard => $tempdir, 
    2024                                  databases => [ 
    2125                                          map { { 
     
    3943 
    4044        my $rv = eval { Worker::Addition->work_safely($job); }; 
    41         ok(length($@) == 0, 'Finished job with out error'); 
     45        ok(length($@) == 0, 'Finished job with out error') 
     46            or diag($@); 
    4247 
    4348        unless (ok(-e $sb_file, "Scoreboard file exists")) {