Sha256: 05edccd2885068d373cc58b52d11996c9e578800246b3496d996939448225f08

Contents?: true

Size: 400 Bytes

Versions: 14

Compression:

Stored size: 400 Bytes

Contents

module Aix::File
  include Beaker::CommandFactory

  def tmpfile(name = '', extension = nil)
    execute("rndnum=${RANDOM} && touch /tmp/#{name}.${rndnum}#{extension} && echo /tmp/#{name}.${rndnum}#{extension}")
  end

  def tmpdir(name = '')
    execute("rndnum=${RANDOM} && mkdir /tmp/#{name}.${rndnum} && echo /tmp/#{name}.${rndnum}")
  end

  def path_split(paths)
    paths.split(':')
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
beaker-6.4.1 lib/beaker/host/aix/file.rb
beaker-6.4.0 lib/beaker/host/aix/file.rb
beaker-6.3.0 lib/beaker/host/aix/file.rb
beaker-6.2.0 lib/beaker/host/aix/file.rb
beaker-6.1.0 lib/beaker/host/aix/file.rb
beaker-5.8.1 lib/beaker/host/aix/file.rb
beaker-5.8.0 lib/beaker/host/aix/file.rb
beaker-5.7.0 lib/beaker/host/aix/file.rb
beaker-5.6.0 lib/beaker/host/aix/file.rb
beaker-5.5.0 lib/beaker/host/aix/file.rb
beaker-5.4.0 lib/beaker/host/aix/file.rb
beaker-5.3.1 lib/beaker/host/aix/file.rb
beaker-5.3.0 lib/beaker/host/aix/file.rb
beaker-5.2.0 lib/beaker/host/aix/file.rb