[Box Backup-commit] COMMIT r1546 - box/chris/merge/infrastructure

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sun Apr 22 15:02:09 BST 2007


Author: chris
Date: 2007-04-22 15:02:08 +0100 (Sun, 22 Apr 2007)
New Revision: 1546

Modified:
   box/chris/merge/infrastructure/makebuildenv.pl.in
Log:
Pass all arguments from test scripts to test executable with proper
quoting (refs #3)


Modified: box/chris/merge/infrastructure/makebuildenv.pl.in
===================================================================
--- box/chris/merge/infrastructure/makebuildenv.pl.in	2007-04-22 14:00:50 UTC (rev 1545)
+++ box/chris/merge/infrastructure/makebuildenv.pl.in	2007-04-22 14:02:08 UTC (rev 1546)
@@ -445,9 +445,9 @@
 		}
 		
 		writetestfile("$mod/_t", "GLIBCXX_FORCE_NEW=1 ".
-			'./test' . $platform_exe_ext . ' $1 $2 $3 $4 $5', $mod);
+			'./test' . $platform_exe_ext . ' "$@"', $mod);
 		writetestfile("$mod/_t-gdb", "GLIBCXX_FORCE_NEW=1 ".
-			'gdb ./test' . $platform_exe_ext . ' $*', $mod);
+			'gdb ./test' . $platform_exe_ext . ' "$@"', $mod);
 		
 	}
 	




More information about the Boxbackup-commit mailing list