Index: tests/pybin/tools.py
===================================================================
--- tests/pybin/tools.py	(revision e8fe5e0a990895d2c3f9b601002d23309d2ae2b1)
+++ tests/pybin/tools.py	(revision ea6226569c27a942134dad8c4fb127053ee0c553)
@@ -27,5 +27,18 @@
 	# if this is a dry_run, only print the commands that would be ran
 	if settings.dry_run :
-		print("cmd: %s" % ' '.join(cmd))
+		cmd = "cmd: {}".format(' '.join(cmd))
+		if output and output != subprocess.DEVNULL and output != subprocess.PIPE:
+			cmd += " > "
+			cmd += output
+
+		if error and error != subprocess.DEVNULL and error != subprocess.PIPE and error != subprocess.STDOUT:
+			cmd += " 2> "
+			cmd += error
+
+		if input and input != subprocess.DEVNULL and os.path.isfile(input):
+			cmd += " < "
+			cmd += input
+
+		print(cmd)
 		return 0, None
 
