diff --git a/Rakefile b/Rakefile
index cac124a..232f336 100644
--- a/Rakefile
+++ b/Rakefile
@@ -4,7 +4,7 @@ ENV["LC_ALL"] = "C" if RUBY_PLATFORM =~ /darwin/
 
 desc "run regression tests"
 task "test" do
-  sh "ruby -w run-regression.rb"
+  sh "cmdtest t"
 end
 
 desc "generate HTML manual"