diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/plugins/linux/interrupts_spec.rb | 6 | ||||
-rw-r--r-- | spec/unit/plugins/linux/ipc_spec.rb | 14 |
2 files changed, 10 insertions, 10 deletions
diff --git a/spec/unit/plugins/linux/interrupts_spec.rb b/spec/unit/plugins/linux/interrupts_spec.rb index 53fa8a5b..abed19e0 100644 --- a/spec/unit/plugins/linux/interrupts_spec.rb +++ b/spec/unit/plugins/linux/interrupts_spec.rb @@ -96,9 +96,9 @@ describe Ohai::System, "Linux interrupts plugin" do "device" => "timer", "events_by_cpu" => { 0 => 10, - 1 => 0, - 2 => 0, - 3 => 0, + 1 => 0, + 2 => 0, + 3 => 0, }, "type" => "IR-IO-APIC", "vector" => "2-edge", diff --git a/spec/unit/plugins/linux/ipc_spec.rb b/spec/unit/plugins/linux/ipc_spec.rb index ed639a1e..1379007b 100644 --- a/spec/unit/plugins/linux/ipc_spec.rb +++ b/spec/unit/plugins/linux/ipc_spec.rb @@ -26,14 +26,14 @@ describe Ohai::System, "Linux ipc plugin" do end it "populates ipc if ipcs is available" do - ipcs_out = <<-IPCS_OUT + ipcs_out = <<~IPCS_OUT ------- Shared Memory Segments -------- -key shmid owner perms bytes nattch status -0x00000000 131072 dcavalca 600 524288 2 dest -0x00000000 38993921 dcavalca 600 393216 2 dest -0x00000000 39092226 dcavalca 600 524288 2 dest -0x00000000 9437188 dcavalca 600 524288 2 dest + ------ Shared Memory Segments -------- + key shmid owner perms bytes nattch status + 0x00000000 131072 dcavalca 600 524288 2 dest + 0x00000000 38993921 dcavalca 600 393216 2 dest + 0x00000000 39092226 dcavalca 600 524288 2 dest + 0x00000000 9437188 dcavalca 600 524288 2 dest IPCS_OUT |