test/tc/symlink.rb in rio-0.4.2 vs test/tc/symlink.rb in rio-0.5.1
- old
+ new
@@ -4,17 +4,18 @@
$:.unshift File.expand_path('../lib/')
end
require 'rio'
require 'test/unit'
-require 'test/unit/testsuite'
+require 'qpdir'
+#require 'test/unit/testsuite'
class TC_RIO_symlink < Test::Unit::TestCase
def assert!(a,msg="negative assertion")
assert((!(a)),msg)
end
def smap(a) a.map { |el| el.to_s } end
- def tdir() rio(%w/qp symlink/) end
+ def tdir() rio($QPDIR,%w/symlink/) end
def mkafile(*args)
file = rio(*args)
file < (0..1).map { |i| "L#{i}:#{file.to_s}\n" }
file
end