sbsv2/raptor/test/smoke_suite/annofile2log.py
branchwip
changeset 457 9bebdb95e0de
parent 450 63f3bc391c14
parent 408 a819f9223567
child 553 7d4971eaf863
equal deleted inserted replaced
455:6cc6d1d59188 457:9bebdb95e0de
    22 	t.name = "annofile2log"
    22 	t.name = "annofile2log"
    23 	t.description = "test workaround for log corruption from a make engine whose name begins with 'e'"
    23 	t.description = "test workaround for log corruption from a make engine whose name begins with 'e'"
    24 	
    24 	
    25 	t.usebash = True
    25 	t.usebash = True
    26 	t.errors = 0
    26 	t.errors = 0
    27 	t.returncode = 1
    27 	t.returncode = 0
    28 	t.exceptions = 0
    28 	t.exceptions = 0
    29 	t.command = "cd smoke_suite/test_resources/annofile2log && ( diff -wB <(python testanno2log.py <(bzip2 -dc scrubbed_ncp_dfs_resource.anno.bz2)) <(bzip2 -dc scrubbed_ncp_dfs_resource.stdout.bz2))"
    29 	t.command = "cd smoke_suite/test_resources/annofile2log && ( diff -wB <(python testanno2log.py <(bzip2 -dc scrubbed_ncp_dfs_resource.anno.bz2)) <(bzip2 -dc scrubbed_ncp_dfs_resource.stdout.bz2))"
    30 	
    30 	
    31 	t.mustmatch_multiline = [ 
    31 	t.mustmatch_multiline = [ 
    32 		".*1a2.*" + 
    32 		"^ *.?"
    33 		"Starting build: 488235.{1,3}" +
       
    34 		"14009c12884.{1,4}" +
       
    35 		"---.{1,4}" +
       
    36 		"Finished build: 488235   Duration: 1:15 \(m:s\)   Cluster availability: 100%.*"
       
    37                 ]
    33                 ]
    38 
    34 
    39 
    35 
    40 	t.run()
    36 	t.run()
    41 
    37