Skip to contentSkip to conversation

master - tests: add mke2fs.conf

PATCH Zdenek Kabelac 1 participant 1 message Jul 4, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=b91390c21149875c26f8c7b37e3cbdfda0f419ae
Commit:        b91390c21149875c26f8c7b37e3cbdfda0f419ae
Parent:        2981d1e79851bc83751efc1d9ce987cdc65305bc
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Jul 4 17:28:43 2016 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Jul 4 17:40:25 2016 +0200

tests: add mke2fs.conf

Add config for mkfs to get more predicatable results when using mkfs across variety of distributions.

In future maybe use this per all tests as default.
For now user has to specify in a test MKE2FS_CONFIG envvar to use it.

---
 test/Makefile.in     |    1 +
 test/lib/mke2fs.conf |   45 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+), 0 deletions(-)
test/Makefile.in +1 -0
index f48d6ea..94b3105 100644
@@ -205,6 +205,7 @@ install: .tests-stamp lib/paths-installed
 	$(INSTALL_DIR) $(DATADIR)/{shell,api,lib,dbus} $(EXECDIR)
 	$(INSTALL_DATA) shell/*.sh $(DATADIR)/shell
 	$(INSTALL_DATA) api/*.sh $(DATADIR)/api
+	$(INSTALL_DATA) lib/mke2fs.conf $(DATADIR)/lib
 	$(INSTALL_PROGRAM) api/*.{t,py} $(DATADIR)/api
 	$(INSTALL_PROGRAM) dbus/*.py $(DATADIR)/dbus/
 	$(INSTALL_DATA) lib/paths-installed $(DATADIR)/lib/paths
test/lib/mke2fs.conf new file +45 -0

45 lines not on this page · raw message