Blame SOURCES/lmdb-s390-check.patch

547c0b
# The s390 architecture needs a pause before accessing the test DB.
547c0b
547c0b
diff -up lmdb-LMDB_0.9.17/libraries/liblmdb/Makefile.orig lmdb-LMDB_0.9.17/libraries/liblmdb/Makefile
547c0b
--- lmdb-LMDB_0.9.17/libraries/liblmdb/Makefile.orig	2015-12-03 09:21:35.621480706 +0100
547c0b
+++ lmdb-LMDB_0.9.17/libraries/liblmdb/Makefile	2015-12-03 09:22:10.069644210 +0100
547c0b
@@ -57,7 +57,7 @@ clean:
547c0b
 
547c0b
 test:	all
547c0b
 	rm -rf testdb && mkdir testdb
547c0b
-	./mtest && ./mdb_stat testdb
547c0b
+	./mtest && sleep 1 && ./mdb_stat testdb
547c0b
 
547c0b
 liblmdb.a:	mdb.o midl.o
547c0b
 	$(AR) rs $@ mdb.o midl.o