[libvirt PATCH 0/2] tests: nssdata: add empty status file

Ján Tomko via Devel posted 2 patches 1 month, 3 weeks ago
Only 1 patches received!
tests/nssdata/virbr2.status    | 0
tools/nss/libvirt_nss_leases.c | 9 ++-------
tools/nss/libvirt_nss_macs.c   | 9 ++-------
3 files changed, 4 insertions(+), 14 deletions(-)
create mode 100644 tests/nssdata/virbr2.status
[libvirt PATCH 0/2] tests: nssdata: add empty status file
Posted by Ján Tomko via Devel 1 month, 3 weeks ago
A blurb is a short promotional piece accompanying
a piece of creative work. It may be written
by the author or publisher or quote praise from others.
Blurbs were originally printed on the back or rear dust
jacket of a book. With the development of the mass-market
paperback, they were placed on both covers by most publishers.
Now they are also found on web portals and news websites.
A blurb may introduce a newspaper or a book.
  -- https://en.wikipedia.org/wiki/Blurb

Ján Tomko (2):
  DO NOT PUSH Revert "nss: Skip empty files and avoid use of
    uninitialized value"
  tests: nssdata: add empty status file

 tests/nssdata/virbr2.status    | 0
 tools/nss/libvirt_nss_leases.c | 9 ++-------
 tools/nss/libvirt_nss_macs.c   | 9 ++-------
 3 files changed, 4 insertions(+), 14 deletions(-)
 create mode 100644 tests/nssdata/virbr2.status

-- 
2.50.1
[libvirt PATCH 2/2] tests: nssdata: add empty status file
Posted by Ján Tomko via Devel 1 month, 3 weeks ago
From: Ján Tomko <jtomko@redhat.com>

Add a test to makee sure we will keep ignoring empty
status files properly in the future.

https://bugzilla.redhat.com/show_bug.cgi?id=2364285

Fixes: 63a3d70697dc44ef2f8b40f7c8e9aa869227a7da
Signed-off-by: Ján Tomko <jtomko@redhat.com>
---
 tests/nssdata/virbr2.status | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 tests/nssdata/virbr2.status

diff --git a/tests/nssdata/virbr2.status b/tests/nssdata/virbr2.status
new file mode 100644
index 0000000000..e69de29bb2
-- 
2.50.1
Re: [libvirt PATCH 2/2] tests: nssdata: add empty status file
Posted by Martin Kletzander via Devel 1 month, 3 weeks ago
On Wed, Jul 16, 2025 at 01:44:48PM +0200, Ján Tomko via Devel wrote:
>From: Ján Tomko <jtomko@redhat.com>
>
>Add a test to makee sure we will keep ignoring empty
>status files properly in the future.
>
>https://bugzilla.redhat.com/show_bug.cgi?id=2364285
>
>Fixes: 63a3d70697dc44ef2f8b40f7c8e9aa869227a7da
>Signed-off-by: Ján Tomko <jtomko@redhat.com>

Reviewed-by: Martin Kletzander <mkletzan@redhat.com>

>---
> tests/nssdata/virbr2.status | 0
> 1 file changed, 0 insertions(+), 0 deletions(-)
> create mode 100644 tests/nssdata/virbr2.status
>
>diff --git a/tests/nssdata/virbr2.status b/tests/nssdata/virbr2.status
>new file mode 100644
>index 0000000000..e69de29bb2
>-- 
>2.50.1
>