[CRIU] [PATCH 1/4] test: Clean nsroot using zdtm.py script

Pavel Emelyanov xemul at virtuozzo.com
Fri Feb 19 05:34:20 PST 2016


Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>
---
 test/Makefile | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/test/Makefile b/test/Makefile
index a0a22b0..8bfab3b 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -46,16 +46,7 @@ fault-injection: .FORCE
 override CFLAGS += -D_GNU_SOURCE
 
 clean_root:
-	$(Q) $(RM) -r ./lib/
-	$(Q) $(RM) -r ./lib64/
-	$(Q) $(RM) -r ./tmp
-	$(Q) $(RM) -r ./etc
-	$(Q) $(RM) -r ./dev
-	$(Q) $(RM) -r ./bin
-	$(Q) $(RM) -r ./sbin
-	$(Q) $(RM) -r ./proc
-	$(Q) $(RM) -r ./usr
-	$(Q) $(RM) -r ./.constructed
+	$(Q) ./zdtm.py clean nsroot
 
 clean: clean_root
 	$(RM) zdtm_ct zdtm-tst-list
-- 
2.5.0



More information about the CRIU mailing list