88658064df
git-svn-id: file:///home/svn/incoming/trunk@3242 4d416f70-5f16-0410-b530-b9f4589650da
17 lines
335 B
Ruby
17 lines
335 B
Ruby
#!/usr/bin/env ruby
|
|
|
|
$:.unshift(File.join(File.dirname(__FILE__), '..'))
|
|
|
|
require 'test/unit'
|
|
require 'rex/file'
|
|
|
|
class Rex::FileUtils::UnitTest < ::Test::Unit::TestCase
|
|
Klass = Rex::FileUtils
|
|
|
|
def test_find_full_path
|
|
assert_not_nil(Klass.find_full_path("ls"))
|
|
assert_nil(Klass.find_full_path("cookie monster cake"))
|
|
end
|
|
|
|
end
|