Skip testing deprecated bdflush in bz544960-no-cfa_ops-supplied
This commit is contained in:
parent
bcabd640a8
commit
cc77a00736
1 changed files with 7 additions and 1 deletions
|
|
@ -31,7 +31,13 @@
|
|||
|
||||
|
||||
PACKAGE="systemtap"
|
||||
_SCRIPTS="readpages.stp tcp.sendmsg.stp bdflush.stp"
|
||||
_SCRIPTS="readpages.stp tcp.sendmsg.stp"
|
||||
|
||||
# The bdflush syscall had been deprecated in kernel commit
|
||||
# b48c7236b13cb5ef1b5fdf744aa8841df0f7b43a. Skip testing
|
||||
# it on nodern kernels (rough gate on KERN_MAJOR).
|
||||
KERN_MAJOR=$(uname -r | awk -F. '{print $1}')
|
||||
test $KERN_MAJOR -le 5 && _SCRIPTS="$_SCRIPTS bdflush.stp"
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartTest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue