cmdtest/t/bin/find_files.rb
Johan Holmberg 6a7bdbdfe4 make tests more Windows-friendly
by using Ruby helper scripts instead fo relying
on the existence of Unix commands
2016-11-05 00:49:22 +01:00

13 lines
144 B
Ruby
Executable File

#!/usr/bin/ruby
require "find"
files = []
Find.find('.') do |path|
if File.file?(path)
files << path
end
end
puts files.sort