/usr/bin/cutest is in ruby-cutest 1.2.1-2.
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 | #!/usr/bin/ruby
if ARGV.empty?
puts "usage: cutest [-r lib] [-v] file ..."
exit
end
require_relative "../lib/cutest"
require_relative "../lib/cutest/vendor/clap"
files = Clap.run ARGV,
"-r" => lambda { |file| require file },
"-o" => lambda { |name| cutest[:only] = name },
"-v" => lambda { puts Cutest::VERSION }
if files.any?
success = Cutest.run(Dir[*files])
exit(1) unless success
end
|