[LTP] [PATCH] memcg_stat_test.sh: Add missing dot in cd command

Feiyu Zhu zhufy.jy@cn.fujitsu.com
Mon Feb 22 03:32:14 CET 2021


Signed-off-by: Feiyu Zhu <zhufy.jy@cn.fujitsu.com>
---
 testcases/kernel/controllers/memcg/functional/memcg_stat_test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/controllers/memcg/functional/memcg_stat_test.sh b/testcases/kernel/controllers/memcg/functional/memcg_stat_test.sh
index 3a62391..f531f87 100755
--- a/testcases/kernel/controllers/memcg/functional/memcg_stat_test.sh
+++ b/testcases/kernel/controllers/memcg/functional/memcg_stat_test.sh
@@ -109,7 +109,7 @@ test8()
 	cd subgroup
 	check_mem_stat "hierarchical_memsw_limit" $((PAGESIZE*2))
 
-	cd .
+	cd ..
 	rmdir subgroup
 }
 
-- 
1.8.3.1





More information about the ltp mailing list