Lines Matching full:echo
10 echo "This test must be run as root. Skipping..."
29 echo "+hugetlb +memory" >$CGROUP_ROOT/cgroup.subtree_control
44 echo $mb
50 echo cleanup
58 echo 0 >/proc/sys/vm/nr_hugepages
78 echo actual a = $((${actual_a%% *} / 1024 / 1024)) MB
79 echo expected a = $((${expected_a%% *} / 1024 / 1024)) MB
80 echo fail
90 echo actual a hugetlb = $((${actual_a_hugetlb%% *} / 1024 / 1024)) MB
91 echo expected a hugetlb = $((${expected_a_hugetlb%% *} / 1024 / 1024)) MB
92 echo fail
106 echo actual b = $((${actual_b%% *} / 1024 / 1024)) MB
107 echo expected b = $((${expected_b%% *} / 1024 / 1024)) MB
108 echo fail
118 echo actual b hugetlb = $((${actual_b_hugetlb%% *} / 1024 / 1024)) MB
119 echo expected b hugetlb = $((${expected_b_hugetlb%% *} / 1024 / 1024)) MB
120 echo fail
128 echo 100 >/proc/sys/vm/nr_hugepages
132 echo "+hugetlb +memory" >$CGROUP_ROOT/a/cgroup.subtree_control
134 echo 0 >$CGROUP_ROOT/a/cpuset.mems
135 echo 0 >$CGROUP_ROOT/a/cpuset.cpus
141 echo 0 >$CGROUP_ROOT/a/b/cpuset.mems
142 echo 0 >$CGROUP_ROOT/a/b/cpuset.cpus
155 echo $$ >$CGROUP_ROOT/$cgroup/cgroup.procs
157 echo 0 >$CGROUP_ROOT/$cgroup/cpuset.mems
158 echo 0 >$CGROUP_ROOT/$cgroup/cpuset.cpus
159 echo $$ >"$CGROUP_ROOT/$cgroup/tasks"
163 echo $$ >$CGROUP_ROOT/cgroup.procs
165 echo $$ >"$CGROUP_ROOT/tasks"
167 echo
176 echo
177 echo
178 echo Test charge, rmdir, uncharge
180 echo mkdir
183 echo write
186 echo rmdir
190 echo uncharge
195 echo done
196 echo
197 echo
199 echo "Test parent and child hugetlb usage"
202 echo write
205 echo Assert memory charged correctly for parent use.
210 echo Assert memory charged correctly for child use.
215 echo Assert memory reparent correctly.
220 echo Assert memory uncharged correctly.
226 echo
227 echo
228 echo "Test child only hugetlb usage"
229 echo setup
232 echo write
235 echo Assert memory charged correctly for child only use.
239 echo Assert memory reparent correctly.
244 echo Assert memory uncharged correctly.
249 echo ALL PASS