spec/functional/resource/mount_spec.rb
# Disabled in travis because it refuses to let us mount a ramdisk. /dev/ramX does not
# exist even after loading the kernel module
Disabled in travis because it refuses to let us mount a ramdisk. /dev/ramX does not
exist even after loading the kernel module
Disabled in travis because it refuses to let us mount a ramdisk . / dev / ramX does not exist even after loading the kernel module
def mount_should_be_enabled(mount_point, device)
    case ohai[:platform]
    when 'aix'
      expect(shell_out("cat #{unix_mount_config_file} | grep \"#{mount_point}:\" ").exitstatus).to eq(0)
    else
      expect(shell_out("cat #{unix_mount_config_file} | grep \"#{mount_point}\" | grep \"#{device}\" ").exitstatus).to eq(0)
    end
  end
def mount_should_be_enabled ( mount_point , device ) case ohai [ :platform ] when 'aix' expect ( shell_out ( "cat #{unix_mount_config_file} | grep \"#{mount_point}:\" " ) . exitstatus ) . to eq ( 0 ) else expect ( shell_out ( "cat #{unix_mount_config_file} | grep \"#{mount_point}\" | grep \"#{device}\" " ) . exitstatus ) . to eq ( 0 ) end end
Disabled in travis because it refuses to let us mount a ramdisk.
Disabled in travis because it refuses to let us mount a ramdisk .
mount_point
device