+ results_dir=/tmp/results
+ trap saveResults EXIT
+ [ 2 -eq 0 ]
+ i=0
+ [ echo hello world !=  ]
+ /bin/sh -c echo hello world
+ i=1
+ shift
+ [ echo hello world pt 2 !=  ]
+ /bin/sh -c echo hello world pt 2
+ i=2
+ shift
+ [  !=  ]
+ saveResults
+ cd /tmp/results
+ tar czf results.tar.gz out0 out1
+ printf /tmp/results/results.tar.gz
