cmd: Add test to show set "FOO=bar" should not include the quotes in the variable value.
diff --git a/programs/cmd/tests/test_builtins.cmd b/programs/cmd/tests/test_builtins.cmd index db15217..04a75ba 100644 --- a/programs/cmd/tests/test_builtins.cmd +++ b/programs/cmd/tests/test_builtins.cmd
@@ -9,3 +9,8 @@ echo "/?" echo. echo . + +echo ------------ Testing 'set' -------------- +echo set "FOO=bar" should not include the quotes in the variable value +set "FOO=bar" +echo %FOO%
diff --git a/programs/cmd/tests/test_builtins.cmd.out b/programs/cmd/tests/test_builtins.cmd.out index 3e7413b..8b5202e 100644 --- a/programs/cmd/tests/test_builtins.cmd.out +++ b/programs/cmd/tests/test_builtins.cmd.out
@@ -9,3 +9,6 @@ "/?" . +------------ Testing 'set' -------------- +set "FOO=bar" should not include the quotes in the variable value +bar