libstoragemgmt: fix ptest build break (#2065)

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
This commit is contained in:
Muhammad Falak R Wani 2022-02-03 09:46:37 +05:30 committed by GitHub
parent 28a258c6a8
commit 42cf07ef07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 3 deletions

View File

@ -1,7 +1,7 @@
Summary: Storage array management library
Name: libstoragemgmt
Version: 1.9.3
Release: 1%{?dist}
Release: 2%{?dist}
License: LGPLv2+
Vendor: Microsoft Corporation
Distribution: Mariner
@ -192,12 +192,15 @@ install -m 755 tools/udev/scan-scsi-target \
%{buildroot}/%{_udevrulesdir}/../scan-scsi-target
%check
check_status=0
if ! make check
then
cat test-suite.log || true
exit 1
cat test-suite.log
check_status=1
fi
[[ $check_status -eq 0 ]]
%pre
getent group libstoragemgmt >/dev/null || groupadd -r libstoragemgmt
getent passwd libstoragemgmt >/dev/null || \
@ -453,6 +456,9 @@ fi
%{_mandir}/man1/local_lsmplugin.1*
%changelog
* Wed Feb 02 2022 Muhammad Falak <mwani@microsoft.com> - 1.9.3-2
- Gracefully handle ptest failure instead of breaking the build
* Tue Jan 25 2022 Henry Li <lihl@microsoft.com> - 1.9.3-1
- Upgrade to version 1.9.3
- Remove subpackage libstoragemgmt-netapp-plugin and libstoragemgmt-nstor-plugin