aboutsummaryrefslogtreecommitdiff
path: root/tests/readahead_reserve.sh
blob: 5ab74009a2f14fc58dc0b6a1d45397f6141401d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

. wrapper-utils.sh

# readahead is known broken before 2.6.30
compare_kvers `uname -r` "2.6.30"
if [ $? -eq 1 ]; then
	echo "FAIL (assumed) kernel bug"
	exit $RC_FAIL
else
	EXP_RC=$RC_PASS
	exec_and_check $EXP_RC readahead_reserve "$@"
fi