From 783181cfc11e995ad678237ebc0025a2a023c88c Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 3 Jul 2013 13:54:17 +0200 Subject: 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 --- tests/auto/tools/qmake/testdata/functions/functions.pro | 2 ++ tests/auto/tools/qmake/testdata/functions/textfile | 1 + 2 files changed, 3 insertions(+) create mode 100644 tests/auto/tools/qmake/testdata/functions/textfile (limited to 'tests') 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! -- cgit v1.2.3