diff --git a/.gitignore b/.gitignore
index 19402f5b8cd2585967db26d6a0373b756b7ed252..2d52a8fb06d66d86e9370ad48b430de7bcc5cf7c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -83,7 +83,7 @@
 /examples/domtop/domtop
 /examples/hellolibvirt/hellolibvirt
 /examples/openauth/openauth
-/examples/rename/test
+/examples/rename/rename
 /gnulib/lib/*
 /gnulib/m4/*
 /gnulib/tests/*