--- fail2ban/tests/misctestcase.py.orig	2015-09-28 15:31:16.000000000 +0200
+++ fail2ban/tests/misctestcase.py	2015-09-28 15:32:59.000000000 +0200
@@ -107,8 +107,8 @@
 					% (got, need, tmp, files))
 
 			# Assure presence of some files we expect to see in the installation
-			for f in ('etc/fail2ban/fail2ban.conf',
-					  'etc/fail2ban/jail.conf'):
+			for f in ('@@PREFIX@@/etc/fail2ban/fail2ban.conf',
+					  '@@PREFIX@@/etc/fail2ban/jail.conf'):
 				self.assertTrue(os.path.exists(os.path.join(tmp, f)),
 								msg="Can't find %s" % f)
 		finally:
