test/tc/programs_util.rb in rio-0.3.8 vs test/tc/programs_util.rb in rio-0.3.9
- old
+ new
@@ -13,12 +13,12 @@
'count_lines' => "ruby #{TEST_BIN_DIR}/count_lines.rb",
'find_lines' => "ruby #{TEST_BIN_DIR}/find_lines.rb",
'list_dir' => "ruby #{TEST_BIN_DIR}/list_dir.rb",
}
PROG = {
- 'count_lines' => XPROGS['count_lines'],
- 'find_lines' => XPROGS['find_lines'],
- 'list_dir' => XPROGS['list_dir'],
+ 'count_lines' => ($mswin32 ? RPROGS['count_lines'] : XPROGS['count_lines']),
+ 'find_lines' => ($mswin32 ? RPROGS['find_lines'] : XPROGS['find_lines']),
+ 'list_dir' => ($mswin32 ? RPROGS['list_dir'] : XPROGS['list_dir']),
}
end
end
end