[gnome-ostree] js: print more debug options
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] js: print more debug options
- Date: Fri, 5 Apr 2013 22:03:49 +0000 (UTC)
commit acec15fa8e79747ce40ca2a879d89b7b2498a9b3
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Wed Apr 3 18:53:21 2013 +0100
js: print more debug options
src/js/guestfish.js | 1 +
src/js/tasks/task-smoketest.js | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/js/guestfish.js b/src/js/guestfish.js
index 5f8e6d9..bdab1a9 100644
--- a/src/js/guestfish.js
+++ b/src/js/guestfish.js
@@ -97,6 +97,7 @@ const GuestMount = new Lang.Class({
'--pid-file', this._mountPidFile.get_path()];
this._appendOpts(guestmountArgv);
guestmountArgv.push(mntdir.get_path());
+ print('Mounting ' + mntdir + ' : ' + guestmountArgv.join(' '));
let context = new GSystem.SubprocessContext({ argv: guestmountArgv });
let proc = new GSystem.Subprocess({ context: context });
proc.init(cancellable);
diff --git a/src/js/tasks/task-smoketest.js b/src/js/tasks/task-smoketest.js
index 4952ca5..d28fd00 100644
--- a/src/js/tasks/task-smoketest.js
+++ b/src/js/tasks/task-smoketest.js
@@ -258,7 +258,7 @@ const SmoketestOne = new Lang.Class({
qemuContext.set_cwd(subworkdir.get_path());
let qemu = new GSystem.Subprocess({context: qemuContext});
this._qemu = qemu;
- print("starting qemu");
+ print("starting qemu : " + qemuArgs);
qemu.init(cancellable);
qemu.wait(cancellable, Lang.bind(this, this._onQemuExited));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]