diff --git a/Tools/PyJobTransforms/test/test_HelloWorldTrf.sh b/Tools/PyJobTransforms/test/test_HelloWorldTrf.sh
index 989703b84fb3081e8da2dd58237c54d63bd5d0c4..af1afb31f1628a8710f1f11c13e9a30e83a30e21 100755
--- a/Tools/PyJobTransforms/test/test_HelloWorldTrf.sh
+++ b/Tools/PyJobTransforms/test/test_HelloWorldTrf.sh
@@ -2,6 +2,9 @@
 
 set -e
 
+mkdir -p test_HelloWorldTrf
+cd test_HelloWorldTrf
+
 # ST test
 HelloWorld_tf.py --maxEvents=5 --CA