Sha256: b36f98029b89965af6337a7b2e092472b77da6d99b7046112d42554f31b9216e

Contents?: true

Size: 265 Bytes

Versions: 1

Compression:

Stored size: 265 Bytes

Contents

class Specinfra::Command::Ios_xr::Base::File < Specinfra::Command::Linux::Base::File
  class << self
    def check_is_accessible_by_user(file, user, access)
      # Redhat-specific
      "runuser -s /bin/sh -c \"test -#{access} #{file}\" #{user}"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
specinfra-cisco-2.41.0 lib/specinfra/command/ios_xr/base/file.rb