From a206d0ef0957c1fcd72d3a14315417ec66f4875f Mon Sep 17 00:00:00 2001 From: Christoph Hartmann Date: Thu, 3 Sep 2015 17:51:08 +0200 Subject: [PATCH] (re)add debug for mock backend --- lib/vulcano/backend/mock.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/vulcano/backend/mock.rb b/lib/vulcano/backend/mock.rb index 738ca5623..872364c07 100644 --- a/lib/vulcano/backend/mock.rb +++ b/lib/vulcano/backend/mock.rb @@ -11,6 +11,7 @@ module Vulcano::Backends end def file(path) + puts "--> get file #{path}" newpath = @mapping[path] if newpath != nil @files[path] ||= File.new(self, newpath, false) @@ -20,6 +21,7 @@ module Vulcano::Backends end def run_command(cmd) + puts "--> run command #{cmd}" Command.new(self, cmd) end