--- /dev/null
+graph G { imagepath="/inv_dir/"
+
+a[shape=plaintext,label=<<TABLE CELLSPACING="2" CELLPADDING="2" BORDER="0"
+CELLBORDER="0"><TR><TD><TABLE CELLSPACING="3" CELLPADDING="1" BORDER="0"
+CELLBORDER="0">
+<TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">image attribute (invalid absolute pathname)</FONT></TD></TR><TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">imagepath attribute (invalid absolute pathname)</FONT></TD></TR>
+</TABLE></TD></TR></TABLE>>];
+b[shape=box,fontsize=30,fontname="Helvetica-Bold",label="no image should be displayed",image="/inv_dir/image.jpg",labelloc=b];
+}
+
--- /dev/null
+graph G { imagepath=""
+
+a[shape=plaintext,label=<<TABLE CELLSPACING="2" CELLPADDING="2" BORDER="0"
+CELLBORDER="0"><TR><TD><TABLE CELLSPACING="3" CELLPADDING="1" BORDER="0"
+CELLBORDER="0">
+<TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">image attribute (invalid absolute pathname)</FONT></TD></TR><TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">imagepath attribute (null)</FONT></TD></TR>
+</TABLE></TD></TR></TABLE>>];
+b[shape=box,fontsize=30,fontname="Helvetica-Bold",label="no image should be displayed",image="/inv_dir/image.jpg",labelloc=b];
+}
+
--- /dev/null
+graph G { imagepath="/home/dperry/work_related/graphviz_repos/graphviz/rtest/imagepath_test/imagepath_dir/"
+
+a[shape=plaintext,label=<<TABLE CELLSPACING="2" CELLPADDING="2" BORDER="0"
+CELLBORDER="0"><TR><TD><TABLE CELLSPACING="3" CELLPADDING="1" BORDER="0"
+CELLBORDER="0">
+<TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">image attribute (invalid absolute pathname)</FONT></TD></TR><TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">imagepath attribute (valid absolute pathname)</FONT></TD></TR>
+</TABLE></TD></TR></TABLE>>];
+b[shape=box,fontsize=30,fontname="Helvetica-Bold",label="no image should be displayed",image="/inv_dir/image.jpg",labelloc=b];
+}
+
--- /dev/null
+graph G { imagepath="/inv_dir/"
+
+a[shape=plaintext,label=<<TABLE CELLSPACING="2" CELLPADDING="2" BORDER="0"
+CELLBORDER="0"><TR><TD><TABLE CELLSPACING="3" CELLPADDING="1" BORDER="0"
+CELLBORDER="0">
+<TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">image attribute (null)</FONT></TD></TR><TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">imagepath attribute (invalid absolute pathname)</FONT></TD></TR>
+</TABLE></TD></TR></TABLE>>];
+b[shape=box,fontsize=30,fontname="Helvetica-Bold",label="no image for Graphviz.app, else image from working directory",image="image.jpg",labelloc=b];
+}
+
--- /dev/null
+graph G { imagepath=""
+
+a[shape=plaintext,label=<<TABLE CELLSPACING="2" CELLPADDING="2" BORDER="0"
+CELLBORDER="0"><TR><TD><TABLE CELLSPACING="3" CELLPADDING="1" BORDER="0"
+CELLBORDER="0">
+<TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">image attribute (null)</FONT></TD></TR><TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">imagepath attribute (null)</FONT></TD></TR>
+</TABLE></TD></TR></TABLE>>];
+b[shape=box,fontsize=30,fontname="Helvetica-Bold",label="image in working directory should be displayed",image="image.jpg",labelloc=b];
+}
+
--- /dev/null
+graph G { imagepath="/home/dperry/work_related/graphviz_repos/graphviz/rtest/imagepath_test/imagepath_dir/"
+
+a[shape=plaintext,label=<<TABLE CELLSPACING="2" CELLPADDING="2" BORDER="0"
+CELLBORDER="0"><TR><TD><TABLE CELLSPACING="3" CELLPADDING="1" BORDER="0"
+CELLBORDER="0">
+<TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">image attribute (null)</FONT></TD></TR><TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">imagepath attribute (valid absolute pathname)</FONT></TD></TR>
+</TABLE></TD></TR></TABLE>>];
+b[shape=box,fontsize=30,fontname="Helvetica-Bold",label="image from imagepath attribute directory or working directory should be displayed",image="image.jpg",labelloc=b];
+}
+
--- /dev/null
+graph G { imagepath="/inv_dir/"
+
+a[shape=plaintext,label=<<TABLE CELLSPACING="2" CELLPADDING="2" BORDER="0"
+CELLBORDER="0"><TR><TD><TABLE CELLSPACING="3" CELLPADDING="1" BORDER="0"
+CELLBORDER="0">
+<TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">image attribute (valid absolute pathname)</FONT></TD></TR><TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">imagepath attribute (invalid absolute pathname)</FONT></TD></TR>
+</TABLE></TD></TR></TABLE>>];
+b[shape=box,fontsize=30,fontname="Helvetica-Bold",label="image from image attribute directory should be displayed",image="/home/dperry/work_related/graphviz_repos/graphviz/rtest/imagepath_test/image_dir/image.jpg",labelloc=b];
+}
+
--- /dev/null
+graph G { imagepath=""
+
+a[shape=plaintext,label=<<TABLE CELLSPACING="2" CELLPADDING="2" BORDER="0"
+CELLBORDER="0"><TR><TD><TABLE CELLSPACING="3" CELLPADDING="1" BORDER="0"
+CELLBORDER="0">
+<TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">image attribute (valid absolute pathname)</FONT></TD></TR><TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">imagepath attribute (null)</FONT></TD></TR>
+</TABLE></TD></TR></TABLE>>];
+b[shape=box,fontsize=30,fontname="Helvetica-Bold",label="image from image attribute directory should be displayed",image="/home/dperry/work_related/graphviz_repos/graphviz/rtest/imagepath_test/image_dir/image.jpg",labelloc=b];
+}
+
--- /dev/null
+graph G { imagepath="/home/dperry/work_related/graphviz_repos/graphviz/rtest/imagepath_test/imagepath_dir/"
+
+a[shape=plaintext,label=<<TABLE CELLSPACING="2" CELLPADDING="2" BORDER="0"
+CELLBORDER="0"><TR><TD><TABLE CELLSPACING="3" CELLPADDING="1" BORDER="0"
+CELLBORDER="0">
+<TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">image attribute (valid absolute pathname)</FONT></TD></TR><TR><TD ALIGN="left"><FONT POINT-SIZE="30.0" FACE="Helvetica-Bold">imagepath attribute (valid absolute pathname)</FONT></TD></TR>
+</TABLE></TD></TR></TABLE>>];
+b[shape=box,fontsize=30,fontname="Helvetica-Bold",label="image from image attribute directory should be displayed",image="/home/dperry/work_related/graphviz_repos/graphviz/rtest/imagepath_test/image_dir/image.jpg",labelloc=b];
+}
+
-e s/imagepath_attr/imagepath\=\"${imagepath}\"/ base.gv | tr '^' ' ' > ../graphs/${outfile}.gv
#place the image file into the nshare directory
-dot -Tpng -o nshare/${outfile}_dot.png ../graphs/${outfile}.gv
+dot -Tpng -o ../nshare/${outfile}_dot.png ../graphs/${outfile}.gv
+#!/home/dperry/work_related/packages/arch/linux.i386-64/src/cmd/ksh93/ksh
#! /bin/ksh
let count=1
+++ /dev/null
-# Graphviz test suite
-# Tests are separated by blank or comment lines.
-# Tests have the following syntax:
-# testname
-# Test input (one-line graph or name of .gv file or =)
-# In the last case, the input file is taken as testname.gv
-# One or more subtests of the form:
-# layout_alg output_format additional_flags
-#
-# For example, the test
-# Shapes
-# shapes.gv
-# dot ps
-# neato png "-Gsize=3,3 -Ncolor=red"
-# specifies the "shapes" test, using shapes.gv as input, and
-# run "dot -Tps" and "neato -Tpng -Gsize=3,3 -Ncolor=red" on the input.
-
-rd_tbl_basic
-=
-dot png
-
-rd_tbl_border
-=
-dot png
-
-rd_tbl_all
-=
-dot png
-
-sq_tbl_basic
-=
-dot png
-
-sq_tbl_border
-=
-dot png
-
-sq_tbl_all
-=
-dot png
-
-
-
-