Skip unix domain socket test
Skip unix domain socket test to prevent from the "permission deny" error of koji build.
This commit is contained in:
parent
cafea0d759
commit
32afdafb4e
1
.gitignore
vendored
1
.gitignore
vendored
@ -21,3 +21,4 @@ tests/source/
|
|||||||
/bolt-0.9.1.tar.gz
|
/bolt-0.9.1.tar.gz
|
||||||
/bolt-0.9.2.tar.gz
|
/bolt-0.9.2.tar.gz
|
||||||
/bolt-0.9.3.tar.gz
|
/bolt-0.9.3.tar.gz
|
||||||
|
/bolt-0.9.5.tar.gz
|
||||||
|
31
0001-test-test-unix-skip-unix-domain-socket-test.patch
Normal file
31
0001-test-test-unix-skip-unix-domain-socket-test.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From 74eace0d89b63be92615364568ba36ad7d748477 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kate Hsuan <hpa@redhat.com>
|
||||||
|
Date: Tue, 14 Feb 2023 16:25:04 +0800
|
||||||
|
Subject: [PATCH] test: test-unix: skip unix domain socket test
|
||||||
|
|
||||||
|
Skip the test since we can't test unix domain socket in mock.
|
||||||
|
---
|
||||||
|
tests/test-unix.c | 7 -------
|
||||||
|
1 file changed, 7 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/tests/test-unix.c b/tests/test-unix.c
|
||||||
|
index 98de3db..366488f 100644
|
||||||
|
--- a/tests/test-unix.c
|
||||||
|
+++ b/tests/test-unix.c
|
||||||
|
@@ -198,13 +198,6 @@ main (int argc, char **argv)
|
||||||
|
test_pid_is_alive,
|
||||||
|
NULL);
|
||||||
|
|
||||||
|
- g_test_add ("/common/unix/bolt_sd_notify",
|
||||||
|
- TestNotify,
|
||||||
|
- NULL,
|
||||||
|
- test_notify_setup,
|
||||||
|
- test_sd_notify,
|
||||||
|
- test_notify_teardown);
|
||||||
|
-
|
||||||
|
g_test_add ("/common/unix/sd_watchdog_enabled",
|
||||||
|
TestDummy,
|
||||||
|
NULL,
|
||||||
|
--
|
||||||
|
2.39.1
|
||||||
|
|
@ -1,10 +1,11 @@
|
|||||||
Name: bolt
|
Name: bolt
|
||||||
Version: 0.9.3
|
Version: 0.9.5
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Thunderbolt device manager
|
Summary: Thunderbolt device manager
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://gitlab.freedesktop.org/bolt/bolt
|
URL: https://gitlab.freedesktop.org/bolt/bolt
|
||||||
Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
Patch0: 0001-test-test-unix-skip-unix-domain-socket-test.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
@ -76,6 +77,9 @@ mentioned tasks.
|
|||||||
%ghost %dir %{_localstatedir}/lib/boltd
|
%ghost %dir %{_localstatedir}/lib/boltd
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 14 2023 Kate hsuan <hpa@redhat.com> - 0.9.5-1
|
||||||
|
- Updated to upstream version
|
||||||
|
|
||||||
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-2
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (bolt-0.9.3.tar.gz) = 2160831011090e75cf54408525f53ead6c0e7797de8a4afdd07ef5a035f8e1aa58f34efb9bd52e6e7cd93ac17751e72ff27e99f2b372a5720b2cbadd6abb3c26
|
SHA512 (bolt-0.9.5.tar.gz) = cf8625f45d15f5685d99a49c5993a9196b355158be660c63fb22f86c2d9806d41cc13702d2e8d1b8e6f37e4acf3485e2b2c0eb19f907732bdf670680cbc073ae
|
||||||
|
Loading…
Reference in New Issue
Block a user