D-Programming-Language/dmd — pull request #1222 by llucax (2012-10-26 14:18:56+00:00)
Title: test: Don't prepend more than once "bash" to post-scripts

When running the tests in Windows, if a post-script is specified, the
"bash" command is prepended to the script string. If arguments have to
be permuted, this is done more than once, resulting in an ill formatted
command to execute, with multiple "bash" prepended (like "bash bash
script"), making the post-script to invariably fail.

This patch makes the prepending temporal to avoid the accumulation
effect.