require File.join File.dirname(__FILE__), 'helper' class SipperTest < Test::Unit::TestCase def test_bad_hadoop_env assert_raise Sip::HadoopException do o = ENV['HADOOP_HOME'] ENV['HADOOP_HOME'] = "/tmp/blahblahfake" s = Sip::Sipper.new CONFIG ENV['HADOOP_HOME'] = o end end def test_split end def test_run_scripts end def test_transpart_opt_generation end end