sbsv2/raptor/test/smoke_suite/annofile2log.py
branchfix
changeset 490 b60bdff41580
parent 408 a819f9223567
child 553 7d4971eaf863
--- a/sbsv2/raptor/test/smoke_suite/annofile2log.py	Tue Apr 20 12:08:50 2010 +0100
+++ b/sbsv2/raptor/test/smoke_suite/annofile2log.py	Tue Apr 20 13:41:38 2010 +0100
@@ -26,7 +26,7 @@
 	t.errors = 0
 	t.returncode = 0
 	t.exceptions = 0
-	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))"
+	t.command = 'cd smoke_suite/test_resources/annofile2log && ( FROMANNO="`mktemp`" ; bzip2 -dc scrubbed_ncp_dfs_resource.anno.bz2 | python testanno2log.py  >"${FROMANNO}" && FROMSTDOUT="`mktemp`"; bzip2 -dc scrubbed_ncp_dfs_resource.stdout.bz2 > "${FROMSTDOUT}" && diff -wB "${FROMANNO}" "${FROMSTDOUT}"; RET=$? ; rm "${FROMANNO}" "${FROMSTDOUT}"; exit $RET )'
 	
 	t.mustmatch_multiline = [ 
 		"^ *.?"