]>
git.proxmox.com Git - mirror_lxcfs.git/blob - tests/test_read_proc.sh
2 #./lxcfs -s -f -d -o allow_other -o direct_io ${DIR}
5 echo -e $2 "\e[31;1m${1}\e[0m"
7 DIR
=${LXCFSDIR:-/var/lib/lxcfs}
9 if ! mountpoint
-q $DIR; then
10 echo "lxcfs isn't mounted on ${DIR}"
22 red_c
"$BIN test cpuinfo"
23 $BIN $DIR/proc
/cpuinfo
$COUNT
25 red_c
"$BIN test stat"
26 $BIN $DIR/proc
/stat
$COUNT
28 red_c
"$BIN test meminfo"
29 $BIN $DIR/proc
/meminfo
$COUNT