diff options
Diffstat (limited to 'tools/build/v2/test/engine/builtin_shell.jam')
-rw-r--r-- | tools/build/v2/test/engine/builtin_shell.jam | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tools/build/v2/test/engine/builtin_shell.jam b/tools/build/v2/test/engine/builtin_shell.jam deleted file mode 100644 index 13d6245e32..0000000000 --- a/tools/build/v2/test/engine/builtin_shell.jam +++ /dev/null @@ -1,31 +0,0 @@ -#~ Copyright 2006 Rene Rivera. -#~ 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" ; -if $(NT) { c = "PATH" ; } - -assert "" : (!=) : [ SHELL $(c) ] ; -assert "" : (==) : [ SHELL $(c) : no-output ] ; -assert "" 0 : (!=) : [ SHELL $(c) : exit-status ] ; -assert "" 0 : (==) : [ SHELL $(c) : no-output : exit-status ] ; -assert "" : (!=) : [ COMMAND $(c) ] ; -assert "" : (==) : [ COMMAND $(c) : no-output ] ; -assert "" 0 : (!=) : [ COMMAND $(c) : exit-status ] ; -assert "" 0 : (==) : [ COMMAND $(c) : no-output : exit-status ] ; |