Changeset 157

Show
Ignore:
Timestamp:
06/19/07 00:50:21 (2 years ago)
Author:
bradfitz
Message:

make tests pass on OS X (Jesse Vincent)

Location:
trunk
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • trunk/Changes

    r155 r157  
     1  - make tests pass on OS X (Jesse Vincent) 
     2 
    131.03 (may 23, 2007) 
    24 
  • trunk/lib/Brackup/Root.pm

    r151 r157  
    1818 
    1919    $self->{dir}        = $conf->path_value('path'); 
    20     $self->{gpg_path}   = $conf->value('gpg_path') || "/usr/bin/gpg"; 
     20    $self->{gpg_path}   = $conf->value('gpg_path') || "gpg"; 
    2121    $self->{gpg_rcpt}   = $conf->value('gpg_recipient'); 
    2222    $self->{chunk_size} = $conf->byte_value('chunk_size'); 
  • trunk/lib/Brackup/Test.pm

    r152 r157  
    4949 
    5050    my ($inv_fh, $inv_filename) = tempfile(); 
     51    close($inv_fh); 
    5152    push @to_unlink, $inv_filename; 
     53 
    5254 
    5355    $confsec = Brackup::ConfigSection->new("TARGET:test_restore"); 
  • trunk/t/01-backup.t

    r151 r157  
    1111 
    1212my ($digdb_fh, $digdb_fn) = tempfile(); 
    13  
     13close($digdb_fh); 
    1414my $root_dir = "$Bin/data"; 
    1515ok(-d $root_dir, "test data to backup exists"); 
    16  
    1716my $backup_file = do_backup( 
    1817                            with_confsec => sub { 
  • trunk/t/02-gpg.t

    r151 r157  
    2121 
    2222my ($digdb_fh, $digdb_fn) = tempfile(); 
    23  
     23close($digdb_fh); 
    2424my $root_dir = "$Bin/data"; 
    2525ok(-d $root_dir, "test data to backup exists"); 
  • trunk/t/03-combine-little-files.t

    r151 r157  
    1111 
    1212my ($digdb_fh, $digdb_fn) = tempfile(); 
    13  
     13close($digdb_fh); 
    1414my $root_dir = "$Bin/data"; 
    1515ok(-d $root_dir, "test data to backup exists");