File lvm2-testsuite.patch of Package lvm2.3105

Index: LVM2.2.02.120/test/Makefile.in
===================================================================
--- LVM2.2.02.120.orig/test/Makefile.in
+++ LVM2.2.02.120/test/Makefile.in
@@ -174,7 +174,7 @@ install: .tests-stamp lib/paths-installe
 	$(INSTALL_DIR) $(DATADIR)/{shell,api,lib}
 	$(INSTALL_DATA) shell/*.sh $(DATADIR)/shell/
 	$(INSTALL_DATA) api/*.sh $(DATADIR)/api/
-	$(INSTALL_PROGRAM) api/*.{t,py} $(DATADIR)/api/
+	$(INSTALL_PROGRAM) api/*.py $(DATADIR)/api/
 	$(INSTALL_DATA) lib/paths-installed $(DATADIR)/lib/paths
 	$(INSTALL_DATA) $(LIB_FLAVOURS) $(DATADIR)/lib/
 	$(INSTALL_DATA) $(abs_top_srcdir)/conf/thin-performance.profile $(DATADIR)/lib/thin-performance.profile
@@ -183,6 +183,7 @@ install: .tests-stamp lib/paths-installe
 
 	$(INSTALL_DIR) $(EXECDIR)
 	$(INSTALL_PROGRAM) $(LIB_EXEC) $(EXECDIR)
+	$(INSTALL_PROGRAM) api/*.t $(EXECDIR)
 	$(INSTALL_PROGRAM) -D lib/runner $(bindir)/lvm2-testsuite
 
 lib/should: lib/not
Index: LVM2.2.02.120/test/lib/brick-shelltest.h
===================================================================
--- LVM2.2.02.120.orig/test/lib/brick-shelltest.h
+++ LVM2.2.02.120/test/lib/brick-shelltest.h
@@ -1157,7 +1157,7 @@ static int run( int argc, const char **a
     if ( args.has( "--flavours" ) )
         split( args.opt( "--flavours" ), opt.flavours );
     else
-        opt.flavours.push_back( "vanilla" );
+        opt.flavours.push_back( "ndev-vanilla" );
 
     if ( args.has( "--watch" ) )
         split( args.opt( "--watch" ), opt.watch );
openSUSE Build Service is sponsored by