Use x-forwarding for test on linux
#!/bin/bash
+if [ "$(uname)" == "Darwin" ]; then
OUTPUT=`gpi --nogui repo_contents/testNets/TestNetwork.net | grep "gpi.canvasGraph:384"`
+fi
+
+if [ "$(uname)" == "Linux" ]; then
+ OUTPUT=`DISPLAY=localhost:1.0 xvfb-run -a bash -c 'gpi --nogui repo_contents/testNets/TestNetwork.net | grep "gpi.canvasGraph:384"'`
+fi
+
if [-z "$OUTPUT" ]
then
echo "Test Network Failed! Output was not successful completion of network" 1>&2
