summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-07-03 13:54:17 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-03 21:38:37 +0200
commit783181cfc11e995ad678237ebc0025a2a023c88c (patch)
treef1ff0c8aa397d44dd55cad89ba5db505ee282a59 /tests
parentbc328f8ec316acc2961b49978831171654ddde2d (diff)
make split_value_list() even less sane again
contrary to what one may expect, it's actually *not* supposed to remove the meta-characters it interprets. luckily, this function is not used much any more ... Task-number: QTBUG-31877 Change-Id: I2b60f9b173140da78db2b07b596cc2e5f6e6d555 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/tools/qmake/testdata/functions/functions.pro2
-rw-r--r--tests/auto/tools/qmake/testdata/functions/textfile1
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/tools/qmake/testdata/functions/functions.pro b/tests/auto/tools/qmake/testdata/functions/functions.pro
index c9e7630c85..84f97c2022 100644
--- a/tests/auto/tools/qmake/testdata/functions/functions.pro
+++ b/tests/auto/tools/qmake/testdata/functions/functions.pro
@@ -171,3 +171,5 @@ else: \
testReplace($$shell_quote($$in), $$out, "shell_quote")
testReplace($$reverse($$list(one two three)), three two one, "reverse")
+
+testReplace($$cat(textfile), hi '"holla he"' 'hu!')
diff --git a/tests/auto/tools/qmake/testdata/functions/textfile b/tests/auto/tools/qmake/testdata/functions/textfile
new file mode 100644
index 0000000000..a8248ed6f8
--- /dev/null
+++ b/tests/auto/tools/qmake/testdata/functions/textfile
@@ -0,0 +1 @@
+hi "holla he" hu!