aboutsummaryrefslogtreecommitdiff
path: root/tests/readahead_reserve.sh
blob: 831ccebe879d2627602cb6e899a226e5814e1163 (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 quota "$@"
fi