summaryrefslogtreecommitdiffstats
path: root/graphviz-2.26.0-rtest-errout-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'graphviz-2.26.0-rtest-errout-fix.patch')
-rw-r--r--graphviz-2.26.0-rtest-errout-fix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphviz-2.26.0-rtest-errout-fix.patch b/graphviz-2.26.0-rtest-errout-fix.patch
new file mode 100644
index 0000000..83f0cb2
--- /dev/null
+++ b/graphviz-2.26.0-rtest-errout-fix.patch
@@ -0,0 +1,22 @@
+--- graphviz-2.26.0/rtest/rtest.sh.old 2009-12-06 00:27:49.000000000 +0100
++++ graphviz-2.26.0/rtest/rtest.sh 2010-10-22 10:37:42.952893435 +0200
+@@ -279,14 +279,16 @@
+ $testcmd 2> errout
+ RVAL=$?
+
++ if [[ -s errout ]]
++ then
++ cat errout
++ fi
++
+ if [[ $RVAL != 0 || ! -s $OUTPATH ]]
+ then
+ (( CRASH_CNT+=1 ))
+ print -u 2 "Test $TESTNAME:$i : == Layout failed =="
+ print -u 2 " $testcmd"
+- elif [[ -s errout ]]
+- then
+- cat errout
+ elif [[ $GENERATE == 1 ]]
+ then
+ continue