Subversion Repositories DevTools

Rev

Rev 253 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 253 Rev 255
Line 18... Line 18...
18
#
18
#
19
#               The script can do a lot of other things too.
19
#               The script can do a lot of other things too.
20
#
20
#
21
#......................................................................#
21
#......................................................................#
22
 
22
 
23
require 5.6.1;
23
require 5.006_001;
24
use strict;
24
use strict;
25
use warnings;
25
use warnings;
26
use JatsError;
26
use JatsError;
27
use JatsSystem;
27
use JatsSystem;
28
use FileUtils;
28
use FileUtils;
Line 546... Line 546...
546
            #
546
            #
547
            #   Detect Race condition
547
            #   Detect Race condition
548
            #   Multiple build daemons creating views too fast for ClearCase
548
            #   Multiple build daemons creating views too fast for ClearCase
549
            #   ClearCase can hit a race condition and fail to create a view
549
            #   ClearCase can hit a race condition and fail to create a view
550
            #
550
            #
551
            $cc_race_condition = ( m~Error: Unable to create directory "[^"]+": File exists\.~);
551
            if ( $_ =~ m~Error: Unable to create directory "[^"]+": File exists\.~ )
-
 
552
            {
-
 
553
                $cc_race_condition = 1;
-
 
554
            }
552
        }
555
        }
553
        close(CMD);
556
        close(CMD);
554
 
557
 
555
        #
558
        #
556
        #   Race condition detected
559
        #   Race condition detected