aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/gnutls/test-kernel-version-ksh.patch
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/package/gnutls/test-kernel-version-ksh.patch')
-rw-r--r--internal/rosa/package/gnutls/test-kernel-version-ksh.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/internal/rosa/package/gnutls/test-kernel-version-ksh.patch b/internal/rosa/package/gnutls/test-kernel-version-ksh.patch
new file mode 100644
index 00000000..fbff46a5
--- /dev/null
+++ b/internal/rosa/package/gnutls/test-kernel-version-ksh.patch
@@ -0,0 +1,15 @@
+diff --git a/tests/scripts/common.sh b/tests/scripts/common.sh
+index 1b78b8cf1..350156a86 100644
+--- a/tests/scripts/common.sh
++++ b/tests/scripts/common.sh
+@@ -279,10 +279,6 @@ kernel_version_check() {
+ kernel_major=$(echo $kernel_version | cut -d. -f1 2>/dev/null)
+ kernel_minor=$(echo $kernel_version | cut -d. -f2 2>/dev/null)
+
+- if ! [[ "$kernel_major" =~ ^[0-9]+$ ]] || ! [[ "$kernel_minor" =~ ^[0-9]+$ ]]; then
+- return 1
+- fi
+-
+ if [ "$kernel_major" -lt "$required_major" ]; then
+ return 1
+ fi