diff --git a/tests/.gitignore b/tests/.gitignore
index 929fcc62d71ecb4731df70568aeaf5dd358dab3e..c5a743e74f6964efc7476545fcce4229e2653fc7 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -32,6 +32,7 @@
 /string/strncmp
 /string/strcspn
 /string/strchr
+/string/strrchr
 /string/strspn
 /unlink
 /write