forked from rosa/hakurei
This is the first nontrivial package to be migrated to azalea. Validated to generate identical IR. Signed-off-by: Ophestra <cat@gensokyo.uk>
16 lines
510 B
Diff
16 lines
510 B
Diff
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
|