!45 [sync] PR-44: skip testcase 23 since current kernel version not support
From: @openeuler-sync-bot Reviewed-by: @liuzhiqiang26 Signed-off-by: @liuzhiqiang26
This commit is contained in:
commit
5dcc976ffa
@ -0,0 +1,29 @@
|
|||||||
|
From 385c1b9eb28e1cc1f64ddedb4a64aa2effa13d5c Mon Sep 17 00:00:00 2001
|
||||||
|
From: wangzhiqiang <wangzhiqiang95@huawei.com>
|
||||||
|
Date: Thu, 3 Nov 2022 16:24:49 +0800
|
||||||
|
Subject: [PATCH] skip testcase 23 since current kernel version not support
|
||||||
|
|
||||||
|
current kernel version of obs not support run testcase 23,
|
||||||
|
so skip it to avoild build error.
|
||||||
|
issue: https://gitee.com/src-openeuler/libaio/issue/I5XELL
|
||||||
|
---
|
||||||
|
harness/runtests.sh | 3 +++
|
||||||
|
1 file changed, 3 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/harness/runtests.sh b/harness/runtests.sh
|
||||||
|
index e9ceec8..a62bae7 100755
|
||||||
|
--- a/harness/runtests.sh
|
||||||
|
+++ b/harness/runtests.sh
|
||||||
|
@@ -9,6 +9,9 @@ echo "Test run starting at" `date`
|
||||||
|
while [ $# -ge 1 ] ; do
|
||||||
|
this_test=$1
|
||||||
|
shift
|
||||||
|
+ if [ $this_test = "cases/23.p" ];then
|
||||||
|
+ continue
|
||||||
|
+ fi
|
||||||
|
echo "Starting $this_test"
|
||||||
|
$this_test 2>&1
|
||||||
|
res=$?
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
Name: libaio
|
Name: libaio
|
||||||
Version: 0.3.113
|
Version: 0.3.113
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Linux-native asynchronous I/O access library
|
Summary: Linux-native asynchronous I/O access library
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://pagure.io/libaio
|
URL: https://pagure.io/libaio
|
||||||
@ -15,6 +15,7 @@ Patch2: 0002-libaio-makefile-cflags.patch
|
|||||||
Patch3: 0003-libaio-fix-for-x32.patch
|
Patch3: 0003-libaio-fix-for-x32.patch
|
||||||
Patch4: 0004-libaio-makefile-add-D_FORTIFY_SOURCE-flag.patch
|
Patch4: 0004-libaio-makefile-add-D_FORTIFY_SOURCE-flag.patch
|
||||||
Patch5: 0005-Fix-compile-error-that-exec-checking-need-super-priv.patch
|
Patch5: 0005-Fix-compile-error-that-exec-checking-need-super-priv.patch
|
||||||
|
Patch6: 0006-skip-testcase-23-since-current-kernel-version-not-su.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
|
||||||
@ -43,6 +44,7 @@ Files for libaio development
|
|||||||
%patch3 -p1 -b .fix-x32
|
%patch3 -p1 -b .fix-x32
|
||||||
%patch4 -p1 -b .makefile-add-D_FORTIFY_SOURCE-flag
|
%patch4 -p1 -b .makefile-add-D_FORTIFY_SOURCE-flag
|
||||||
%patch5 -p1 -b .fix-compile-error
|
%patch5 -p1 -b .fix-compile-error
|
||||||
|
%patch6 -p1 -b .skip-testcase
|
||||||
|
|
||||||
mv %{name}-%{version} setup-%{name}-%{version}
|
mv %{name}-%{version} setup-%{name}-%{version}
|
||||||
|
|
||||||
@ -74,6 +76,9 @@ make check
|
|||||||
%attr(0755,root,root) %{_libdir}/libaio.so
|
%attr(0755,root,root) %{_libdir}/libaio.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 3 2022 wangzhiqiang <wangzhiqiang95@huawei.com> - 0.3.113-2
|
||||||
|
- skip testcase 23 since current kernel version not support
|
||||||
|
|
||||||
* Fri Oct 28 2022 wangzhiqiang <wangzhiqiang95@huawei.com> - 0.3.113-1
|
* Fri Oct 28 2022 wangzhiqiang <wangzhiqiang95@huawei.com> - 0.3.113-1
|
||||||
- update from 0.3.112 to 0.3.113
|
- update from 0.3.112 to 0.3.113
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user