qt5base-lts/tests/auto/corelib/io/qprocess
Thomas Sondergaard 65a317e674 Use QMap in QProcessEnvironment so variables are sorted
The motivation for this change is to make it simple to pass a
correctly sorted environment block to Win32 CreateProcess(). It is
also nice in other contexts that the environment variables are
sorted. The change is made for all platforms. This keeps it simple and
the only ill effect is slightly slower lookups.

Concerning the environment block passed to Win32 CreateProcess:

The environment block that is passed to CreateProcess() must be sorted
case-insensitively and without regard to locale. See
 https://msdn.microsoft.com/en-us/library/windows/desktop/ms682009(v=vs.85).aspx

The need for sorting the environment block is also mentioned in the
CreateProcess() documentation, but with less details:
 https://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx

Task-number: QTBUG-61315
Change-Id: Ie1edd443301de79cf5f699d45beab01b7c0f9de3
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2017-06-13 06:09:40 +00:00
..
fileWriterProcess Updated license headers 2016-01-21 18:55:18 +00:00
test macOS: Don't build auto-tests as application bundles unless explicitly requested 2016-10-23 10:39:56 +00:00
testBatFiles Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
testDetached Updated license headers 2016-01-21 18:55:18 +00:00
testExitCodes Updated license headers 2016-01-21 18:55:18 +00:00
testForwarding Properly use the "process" feature 2017-02-27 15:44:46 +00:00
testGuiProcess Updated license headers 2016-01-21 18:55:18 +00:00
testProcessCrash Updated license headers 2016-01-21 18:55:18 +00:00
testProcessDeadWhileReading Updated license headers 2016-01-21 18:55:18 +00:00
testProcessEcho Remove Windows CE vestiges 2016-06-02 08:03:37 +00:00
testProcessEcho2 Updated license headers 2016-01-21 18:55:18 +00:00
testProcessEcho3 Updated license headers 2016-01-21 18:55:18 +00:00
testProcessEchoGui Updated license headers 2016-01-21 18:55:18 +00:00
testProcessEnvironment Remove Windows CE vestiges 2016-06-02 08:03:37 +00:00
testProcessEOF Updated license headers 2016-01-21 18:55:18 +00:00
testProcessHang Updated license headers 2016-01-21 18:55:18 +00:00
testProcessNormal Updated license headers 2016-01-21 18:55:18 +00:00
testProcessOutput Remove Windows CE vestiges 2016-06-02 08:03:37 +00:00
testProcessSpacesArgs QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
testSetNamedPipeHandleState Updated license headers 2016-01-21 18:55:18 +00:00
testSetWorkingDirectory Updated license headers 2016-01-21 18:55:18 +00:00
testSoftExit QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
testSpaceInName Updated license headers 2016-01-21 18:55:18 +00:00
.gitignore test: Moving tst_QProcess::echoTest_performance() 2012-10-19 02:43:05 +02:00
BLACKLIST MSVC2015: Blacklist tests reading from stdin in buffered/text mode. 2015-09-30 07:54:58 +00:00
qprocess.pri QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
qprocess.pro QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
tst_qprocess.cpp Use QMap in QProcessEnvironment so variables are sorted 2017-06-13 06:09:40 +00:00