Commit e6e3dfbc authored by Kurt Hindenburg's avatar Kurt Hindenburg

Correct the test for bug 361835

parent cf911501
......@@ -75,10 +75,10 @@ void ShellCommandTest::testExpandEnvironmentVariable()
const QString expected2 = text.replace('$' + env, value);
QCOMPARE(result2, expected2);
text = QStringLiteral("$ABC \"$ABC\"");
text = QStringLiteral("$ABC \"$ABC\" '$ABC'");
qputenv("ABC", "123");
const QString result3 = ShellCommand::expand(text);
const QString expected3 = QStringLiteral("123 \"$ABC\"");
const QString expected3 = QStringLiteral("123 \"123\" '$ABC'");
QEXPECT_FAIL("", "Bug 361835", Continue);
QCOMPARE(result3, expected3);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment