summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-01-26 19:41:40 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-01-27 15:12:32 (GMT)
commitbcd35f48a93591a1d2524490ebba9887075ee92e (patch)
tree5155d244280e1ee50aadd5ea06fc152ae42829f9 /tests
parentb0a454fd09e0cbf74304aabd160ea25c2c83b4b9 (diff)
downloadQt-bcd35f48a93591a1d2524490ebba9887075ee92e.zip
Qt-bcd35f48a93591a1d2524490ebba9887075ee92e.tar.gz
Qt-bcd35f48a93591a1d2524490ebba9887075ee92e.tar.bz2
fix printing output from failed command
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/linguist/lupdate/tst_lupdate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/linguist/lupdate/tst_lupdate.cpp b/tests/auto/linguist/lupdate/tst_lupdate.cpp
index 568be37..6095140 100644
--- a/tests/auto/linguist/lupdate/tst_lupdate.cpp
+++ b/tests/auto/linguist/lupdate/tst_lupdate.cpp
@@ -287,7 +287,7 @@ void tst_lupdate::good()
"\"lupdate " + lupdatecmd.toLatin1() + "\" crashed\n" + output);
QVERIFY2(!proc.exitCode(),
"\"lupdate " + lupdatecmd.toLatin1() + "\" exited with code " +
- QByteArray::number(proc.exitCode()) + "\n" + proc.readAll());
+ QByteArray::number(proc.exitCode()) + "\n" + output);
// If the file expectedoutput.txt exists, compare the
// console output with the content of that file