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

. wrapper-utils.sh

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