Boost logo

Boost-Commit :

From: jurko.gospodnetic_at_[hidden]
Date: 2008-06-03 19:14:54


Author: jurko
Date: 2008-06-03 19:14:54 EDT (Tue, 03 Jun 2008)
New Revision: 46102
URL: http://svn.boost.org/trac/boost/changeset/46102

Log:
Added a comment describing an additional Boost Jam test for the Windows popen() command unquoting bug that should be added once a better testing framework is implemented for Boost Jam.
Text files modified:
   trunk/tools/jam/test/builtin_shell.jam | 14 ++++++++++++++
   1 files changed, 14 insertions(+), 0 deletions(-)

Modified: trunk/tools/jam/test/builtin_shell.jam
==============================================================================
--- trunk/tools/jam/test/builtin_shell.jam (original)
+++ trunk/tools/jam/test/builtin_shell.jam 2008-06-03 19:14:54 EDT (Tue, 03 Jun 2008)
@@ -2,6 +2,20 @@
 #~ Distributed under the Boost Software License, Version 1.0.
 #~ (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
 
+# TODO: Here we should test for the Windows popen() command unquoting bug but
+# that test will have to wait until a better testing framework is implemented.
+# To reproduce the bug try executing any command with its first parameter quoted
+# and containing spaces and having at least one other quote in the command
+# string.
+#
+# For example:
+#
+# "\Long folder name\aaa.exe" --name="Jurko" --no-surname
+#
+# would get its outermost quotes stripped and would be executed as:
+#
+# \Long folder name\aaa.exe" --name="Jurko --no-surname
+
 ECHO --- Testing SHELL builtin... ;
 
 local c = "date" ;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk