diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-11-18 16:04:08 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-11-19 22:11:45 +0100 |
commit | 69be23c5f629884465dec98efcb9d5a2678b4df5 (patch) | |
tree | 9c9135bb995006fac7a6de3b349fe24b325dbe99 /api/logic/updater/DownloadTask_test.cpp | |
parent | e974950d48e4e8b9500acbeadf9c1abdab1dec72 (diff) | |
download | PrismLauncher-69be23c5f629884465dec98efcb9d5a2678b4df5.tar.gz PrismLauncher-69be23c5f629884465dec98efcb9d5a2678b4df5.tar.bz2 PrismLauncher-69be23c5f629884465dec98efcb9d5a2678b4df5.zip |
GH-1726 better failure detection for updates
Instead of just checking if the new version started, make sure
it is able to write its IPC key to a file and then use the key
to connect to the process.
Diffstat (limited to 'api/logic/updater/DownloadTask_test.cpp')
-rw-r--r-- | api/logic/updater/DownloadTask_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/logic/updater/DownloadTask_test.cpp b/api/logic/updater/DownloadTask_test.cpp index 5b88b366..e75c3ffa 100644 --- a/api/logic/updater/DownloadTask_test.cpp +++ b/api/logic/updater/DownloadTask_test.cpp @@ -52,8 +52,8 @@ QDebug operator<<(QDebug dbg, const Operation::Type &t) QDebug operator<<(QDebug dbg, const Operation &u) { - dbg.nospace() << "Operation(type=" << u.type << " file=" << u.file - << " dest=" << u.dest << " mode=" << u.mode << ")"; + dbg.nospace() << "Operation(type=" << u.type << " file=" << u.source + << " dest=" << u.destination << " mode=" << u.destinationMode << ")"; return dbg.maybeSpace(); } |