summaryrefslogtreecommitdiffstats
path: root/tests/pathtest.sh
blob: b37338958d16e080f2dcd7b593cdd453bed1353d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

while read name extra
do
	echo $name | grep -q '^#'
	if [ $? -eq 0 ]
	then
		continue
	fi
	path=`cat /proc/$$/cgroup | cut -d ':' -f 3`
	./pathtest $name $path
done < /proc/cgroups