Sha256: 5fbe03b5b4a22a980fed60e8f36b5226a74b45ea80b2c3f43c2d04bef1bd723a
Contents?: true
Size: 692 Bytes
Versions: 3
Compression:
Stored size: 692 Bytes
Contents
require_relative '../../test_helper' require 'msip/procesos_helper' module Msip class ProcesosHelperTest < ActionView::TestCase include ProcesosHelper test "procesos_OpenBSD" do so = `uname`.chop if so == 'OpenBSD' ps = procesos_OpenBSD assert(ps.count > 0) p1 = ps.select{ |p| p[:pid] == 1}.first assert_equal 'root', p1[:user] assert_equal 0, p1[:ppid] assert_equal 1, p1[:pgid] assert_equal 0, p1[:sess] assert_equal 0, p1[:jobc] # assert_equal 'I', p1[:stat] assert_equal '??', p1[:tt] assert_equal '/sbin/init', p1[:command] end end end # class end # module
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
msip-2.2.0.alfa3 | test/helpers/msip/procesos_helper_test.rb |
msip-2.2.0.alfa2 | test/helpers/msip/procesos_helper_test.rb |
msip-2.2a2 | test/helpers/msip/procesos_helper_test.rb |