diff --git a/mysql-test/suite/rpl/t/rpl_blackhole.test b/mysql-test/suite/rpl/t/rpl_blackhole.test
index 0609a4c604822723d6a793d6320a7ae88e1d900a..e8dfbd51552324c927d1d7280c884c2a55cbf3d7 100644
--- a/mysql-test/suite/rpl/t/rpl_blackhole.test
+++ b/mysql-test/suite/rpl/t/rpl_blackhole.test
@@ -1,5 +1,3 @@
---source include/master-slave.inc
-
 # PURPOSE. Test that blackhole works with replication in all three
 # modes: STATEMENT, MIXED, and ROW.
 #
@@ -17,6 +15,9 @@
 # primary key lookup), and index/key with multiple matches (forcing an
 # index search).
 
+source include/master-slave.inc;
+source include/have_blackhole.inc;
+
 # We start with no primary key
 CREATE TABLE t1 (a INT, b INT, c INT);
 CREATE TABLE t2 (a INT, b INT, c INT);