Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libstorage-ng for openSUSE:Factory 
checked in at 2023-11-14 21:41:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old)
 and      /work/SRC/openSUSE:Factory/.libstorage-ng.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libstorage-ng"

Tue Nov 14 21:41:34 2023 rev:244 rq:1125444 version:4.5.156

Changes:
--------
--- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes      
2023-10-29 19:40:01.207490586 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.17445/libstorage-ng.changes   
2023-11-14 21:41:36.525457605 +0100
@@ -1,0 +2,7 @@
+Mon Nov 13 10:42:22 UTC 2023 - aschn...@suse.com
+
+- merge gh#openSUSE/libstorage-ng#964
+- extended testsuite
+- 4.5.156
+
+--------------------------------------------------------------------

Old:
----
  libstorage-ng-4.5.155.tar.xz

New:
----
  libstorage-ng-4.5.156.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libstorage-ng.spec ++++++
--- /var/tmp/diff_new_pack.FvM1H5/_old  2023-11-14 21:41:37.477492846 +0100
+++ /var/tmp/diff_new_pack.FvM1H5/_new  2023-11-14 21:41:37.477492846 +0100
@@ -18,7 +18,7 @@
 
 %define libname %{name}1
 Name:           libstorage-ng
-Version:        4.5.155
+Version:        4.5.156
 Release:        0
 Summary:        Library for storage management
 License:        GPL-2.0-only

++++++ libstorage-ng-4.5.155.tar.xz -> libstorage-ng-4.5.156.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.5.155/VERSION 
new/libstorage-ng-4.5.156/VERSION
--- old/libstorage-ng-4.5.155/VERSION   2023-10-28 09:23:46.000000000 +0200
+++ new/libstorage-ng-4.5.156/VERSION   2023-11-13 11:42:22.000000000 +0100
@@ -1 +1 @@
-4.5.155
+4.5.156
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.5.155/testsuite/Utils/systemcmd.cc 
new/libstorage-ng-4.5.156/testsuite/Utils/systemcmd.cc
--- old/libstorage-ng-4.5.155/testsuite/Utils/systemcmd.cc      2023-10-28 
09:23:46.000000000 +0200
+++ new/libstorage-ng-4.5.156/testsuite/Utils/systemcmd.cc      2023-11-13 
11:42:22.000000000 +0100
@@ -72,6 +72,20 @@
 }
 
 
+BOOST_AUTO_TEST_CASE(hello_huge_stdout_args)
+{
+    vector<string> stdout;
+    for (int i = 0; i < 1000000; ++i)
+       stdout.push_back("Hello world, how are you?");
+
+    SystemCmd::Options cmd_options({ "../helpers/repeat", "1000000", "Hello 
world, how are you?" });
+
+    SystemCmd cmd(cmd_options);
+
+    BOOST_CHECK_EQUAL(join(cmd.stdout()), join(stdout));
+}
+
+
 BOOST_AUTO_TEST_CASE(hello_stderr)
 {
     vector<string> stderr = {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.5.155/testsuite/helpers/.gitignore 
new/libstorage-ng-4.5.156/testsuite/helpers/.gitignore
--- old/libstorage-ng-4.5.155/testsuite/helpers/.gitignore      2023-10-28 
09:23:46.000000000 +0200
+++ new/libstorage-ng-4.5.156/testsuite/helpers/.gitignore      2023-11-13 
11:42:22.000000000 +0100
@@ -3,5 +3,6 @@
 echoargs
 echoargs_mixed
 echoargs_stderr
+repeat
 retcode
 segfaulter
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.5.155/testsuite/helpers/Makefile.am 
new/libstorage-ng-4.5.156/testsuite/helpers/Makefile.am
--- old/libstorage-ng-4.5.155/testsuite/helpers/Makefile.am     2023-10-28 
09:23:46.000000000 +0200
+++ new/libstorage-ng-4.5.156/testsuite/helpers/Makefile.am     2023-11-13 
11:42:22.000000000 +0100
@@ -13,6 +13,7 @@
        echoargs        \
        echoargs_stderr \
        echoargs_mixed  \
+       repeat          \
        retcode         \
        segfaulter
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.5.155/testsuite/helpers/repeat.cc 
new/libstorage-ng-4.5.156/testsuite/helpers/repeat.cc
--- old/libstorage-ng-4.5.155/testsuite/helpers/repeat.cc       1970-01-01 
01:00:00.000000000 +0100
+++ new/libstorage-ng-4.5.156/testsuite/helpers/repeat.cc       2023-11-13 
11:42:22.000000000 +0100
@@ -0,0 +1,15 @@
+// Repeat command line arg 2 on stdout arg 1 number of times
+
+#include <cstdio>
+#include <cstdlib>
+
+int
+main (int argc, char* argv[])
+{
+    for (int i = 0; i < atoi(argv[1]); ++i)
+    {
+       printf("%s\n", argv[2]);
+    }
+
+    return EXIT_SUCCESS;
+}

Reply via email to