diff --git a/mysql-test/r/grant2.result b/mysql-test/r/grant2.result
index f2722ee052e2d1beeee092869cd39e4e85b0292d..8f3c8605cddcabecf856cb264089199f9bbff490 100644
--- a/mysql-test/r/grant2.result
+++ b/mysql-test/r/grant2.result
@@ -404,3 +404,4 @@ use test;
 drop database mysqltest_1;
 drop database mysqltest_2;
 drop user mysqltest_u1@localhost;
+End of 5.0 tests
diff --git a/mysql-test/t/grant2.test b/mysql-test/t/grant2.test
index 9b83cd5aab7df4405c162bad0b4009b0807e5cb0..f455914a0cdd4e176b2f352a0ccb7b6bd05c4793 100644
--- a/mysql-test/t/grant2.test
+++ b/mysql-test/t/grant2.test
@@ -554,3 +554,6 @@ use test;
 drop database mysqltest_1;
 drop database mysqltest_2;
 drop user mysqltest_u1@localhost;
+
+--echo End of 5.0 tests
+