[Rt-commit] rt branch, 4.2/test-crypt-race-condition, repushed

Alex Vandiver alexmv at bestpractical.com
Thu Mar 13 11:36:07 EDT 2014


The branch 4.2/test-crypt-race-condition was deleted and repushed:
       was 9b123a35d4f8c7ad0974ec9cce7b4a26b6b53eb8
       now 4b6ce71cdcfbfc65ffabd7f5eba2d83eda72241e

1:  8f73c12 = 1:  8f73c12 Switch to a portable implementation of `id -gn`
2:  9b123a3 ! 2:  4b6ce71 Avoid a race condition in crypt testing
    @@ -48,15 +48,14 @@
     +    Subject => 'test',
     +    Requestor => 'root at localhost',
     +);
    -+ok $status, "created ticket" or diag "error: $msg";
    ++ok( $status, "created ticket" ) or diag "error: $msg";
      
     -    my $log = RT::Test->file_content([RT::Test->temp_directory, 'rt.debug.log']);
     -    like $log, qr{secret key not available}, 'error in the log';
     -    unlike $log, qr{Scrip .*? died}m, "scrip didn't die";
     -} [qr{gpg: keyring .*? created}];
    -+is @warnings, 1, "Got a warning";
    -+diag "@warnings";
    -+like $warnings[0], qr{signing failed: secret key not available},
    -+    "Found warning of no secret key";
    ++is( scalar @warnings, 1, "Got a warning" );
    ++like( $warnings[0], qr{signing failed: secret key not available},
    ++    "Found warning of no secret key");
      
     +done_testing;



More information about the rt-commit mailing list