File: counters.sh

package info (click to toggle)
libhugetlbfs 2.24-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,272 kB
  • sloc: ansic: 10,830; python: 810; makefile: 670; sh: 660; asm: 170
file content (13 lines) | stat: -rwxr-xr-x 223 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

. wrapper-utils.sh

# Huge page overcommit was not available until 2.6.24
compare_kvers `uname -r` "2.6.24"
if [ $? -eq 1 ]; then
	EXP_RC=$RC_FAIL
else
	EXP_RC=$RC_PASS
fi

exec_and_check $EXP_RC counters "$@"