graphviz: clean up test

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-05-06 00:45:18 -05:00
parent 6ff456cf82
commit d7ffd6d35a

View file

@ -55,7 +55,8 @@ class Graphviz < Formula
}
EOS
system "#{bin}/dot -Tpdf -o sample.pdf sample.dot && /usr/bin/open ./sample.pdf && /bin/sleep 3"
system "#{bin}/dot", "-Tpdf", "-o", "sample.pdf", "sample.dot"
system "/usr/bin/qlmanage", "-p", "./sample.pdf"
end
end