-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turn off lockstat testing prior to 5.10 due to commit 197115e "lockstat: refuse to provide probes on kernels < 5.10.0". Signed-off-by: Eugene Loh <eugene.loh@oracle.com> Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
read MAJOR MINOR <<< `uname -r | grep -Eo '^[0-9]+\.[0-9]+' | tr '.' ' '` | ||
if [ $MAJOR -gt 5 ]; then | ||
exit 0 | ||
fi | ||
if [ $MAJOR -eq 5 -a $MINOR -ge 10 ]; then | ||
exit 0 | ||
fi | ||
echo "lockstat disabled prior to 5.10" | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
read MAJOR MINOR <<< `uname -r | grep -Eo '^[0-9]+\.[0-9]+' | tr '.' ' '` | ||
if [ $MAJOR -gt 5 ]; then | ||
exit 0 | ||
fi | ||
if [ $MAJOR -eq 5 -a $MINOR -ge 10 ]; then | ||
exit 0 | ||
fi | ||
echo "lockstat disabled prior to 5.10" | ||
exit 1 |