Blame SOURCES/graphviz-2.26.0-rtest-errout-fix.patch

a2d586
--- graphviz-2.26.0/rtest/rtest.sh.old	2009-12-06 00:27:49.000000000 +0100
a2d586
+++ graphviz-2.26.0/rtest/rtest.sh	2010-10-22 10:37:42.952893435 +0200
a2d586
@@ -279,14 +279,16 @@
a2d586
     $testcmd 2> errout
a2d586
     RVAL=$?
a2d586
 
a2d586
+    if [[ -s errout ]]
a2d586
+    then
a2d586
+      cat errout
a2d586
+    fi
a2d586
+    
a2d586
     if [[ $RVAL != 0 || ! -s $OUTPATH ]]
a2d586
     then
a2d586
       (( CRASH_CNT+=1 ))
a2d586
       print -u 2 "Test $TESTNAME:$i : == Layout failed =="
a2d586
       print -u 2 "  $testcmd"
a2d586
-    elif [[ -s errout ]]
a2d586
-    then
a2d586
-      cat errout
a2d586
     elif [[ $GENERATE == 1 ]]
a2d586
     then
a2d586
       continue