/usr/bin/zentest is in ruby-zentest 4.9.1-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #!/usr/bin/env ruby
require 'zentest'
$TESTING = true # for ZenWeb and any other testing infrastructure code
if defined? $v then
puts "#{File.basename $0} v#{ZenTest::VERSION}"
exit 0
end
if defined? $h then
ZenTest.usage_with_exit
end
code = ZenTest.fix(*ARGV)
if defined? $e then
require 'test/unit'
eval code
else
print code
end
|