diff --git a/test/test_case_end.rb b/test/test_case_end.rb
index e61f042..6893181 100644
--- a/test/test_case_end.rb
+++ b/test/test_case_end.rb
@@ -1,3 +1,4 @@
+require 'fileutils'
Dir["*.c"].each do |file|
file_tmp = file + ".tmp"
File.open(file_tmp, "w") do |out|