Debian Codegraph @

tests/fallocate_align.sh

raw symbols SCIP
1 #!/bin/bash
2
3 . wrapper-utils.sh
4
5 #
6 # hugetlbfs fallocate support was not available until 4.3
7 #
8 compare_kvers `uname -r` "4.3.0"
9 if [ $? -eq 1 ]; then
10 echo "FAIL no fallocate support in kernels before 4.3.0"
11 exit $RC_FAIL
12 else
13 EXP_RC=$RC_PASS
14 exec_and_check $EXP_RC fallocate_align "$@"
15 fi